diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-08 20:59:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 20:59:06 +0100 |
commit | 199259c5d2d5f4a6550382a683f5d54ac482fcd1 (patch) | |
tree | 6792423092c40e0e26f9b6ed932706b4a18fcfc7 /TAO/tao/Adapter_Registry.cpp | |
parent | a2239fcbf8a7eabce628ca0841dc1eaa69a68b3d (diff) | |
parent | 0ef8b2250c1dfad5ad5361de7e92a289ead06733 (diff) | |
download | ATCD-199259c5d2d5f4a6550382a683f5d54ac482fcd1.tar.gz |
Merge pull request #1444 from jwillemsen/jwi-stdstring
Use std string operation instead of ACE_OS
Diffstat (limited to 'TAO/tao/Adapter_Registry.cpp')
-rw-r--r-- | TAO/tao/Adapter_Registry.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/Adapter_Registry.cpp b/TAO/tao/Adapter_Registry.cpp index df2ab410265..9a53767886b 100644 --- a/TAO/tao/Adapter_Registry.cpp +++ b/TAO/tao/Adapter_Registry.cpp @@ -9,6 +9,7 @@ #include "ace/Log_Msg.h" #include "ace/OS_NS_string.h" #include "ace/CORBA_macros.h" +#include <cstring> TAO_BEGIN_VERSIONED_NAMESPACE_DECL @@ -171,7 +172,7 @@ TAO_Adapter_Registry::find_adapter (const char *name) const for (TAO_Adapter **i = this->adapters_; i != this->adapters_ + this->adapters_count_; ++i) - if (ACE_OS::strcmp ((*i)->name (), name) == 0) + if (std::strcmp ((*i)->name (), name) == 0) return *i; return nullptr; |