diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-07 11:36:32 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-07 11:36:32 +0100 |
commit | 03df8a8f5c52115d7ba2c8bffcd6c33820c28717 (patch) | |
tree | c60a319adab78a4dc318fbc7ed7b752fc63f1099 /ACE/ace/Service_Config.cpp | |
parent | c62ecd5955c1350fa25f95deb9bce2c81bc70f1c (diff) | |
download | ATCD-03df8a8f5c52115d7ba2c8bffcd6c33820c28717.tar.gz |
Make use of C++11 using instead of typedef
Diffstat (limited to 'ACE/ace/Service_Config.cpp')
-rw-r--r-- | ACE/ace/Service_Config.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/Service_Config.cpp b/ACE/ace/Service_Config.cpp index 193e54ab823..cce7acc6693 100644 --- a/ACE/ace/Service_Config.cpp +++ b/ACE/ace/Service_Config.cpp @@ -98,8 +98,7 @@ ACE_Threading_Helper<ACE_Null_Mutex>::get (void) * know that upon process exit the SC will still be automaticaly and explicitly * closed by @c ACE_Object_Manager::fini(). */ -typedef ACE_Unmanaged_Singleton<ACE_Service_Config, - ACE_SYNCH_RECURSIVE_MUTEX> ACE_SERVICE_CONFIG_SINGLETON; +using ACE_SERVICE_CONFIG_SINGLETON = ACE_Unmanaged_Singleton<ACE_Service_Config, ACE_MT_SYNCH::RECURSIVE_MUTEX>; /// ctor |