diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-21 08:31:47 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-21 08:31:47 +0000 |
commit | 5c28f0560fe5fc58b7cd7a4e76959d8d5afc002d (patch) | |
tree | 8604cb4ae1a6249bf62cf56fba41cb266347a361 /CIAO/tools | |
parent | 9cf19b721a5ee287f1442605b012fb49a0038572 (diff) | |
download | ATCD-5c28f0560fe5fc58b7cd7a4e76959d8d5afc002d.tar.gz |
Wed Feb 21 08:30:14 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'CIAO/tools')
-rw-r--r-- | CIAO/tools/Config_Handlers/Utils/XercesString.cpp | 3 | ||||
-rw-r--r-- | CIAO/tools/Config_Handlers/Utils/XercesString.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/CIAO/tools/Config_Handlers/Utils/XercesString.cpp b/CIAO/tools/Config_Handlers/Utils/XercesString.cpp index db3e704caa5..6f034163e4b 100644 --- a/CIAO/tools/Config_Handlers/Utils/XercesString.cpp +++ b/CIAO/tools/Config_Handlers/Utils/XercesString.cpp @@ -1,6 +1,7 @@ // $Id$ #include <ostream> +#include <algorithm> #include "XercesString.h" using xercesc::XMLString; @@ -39,7 +40,7 @@ namespace Config_Handlers if (&rhs == this) return *this; XStr temp (rhs); - ACE_Swap<XMLCh*>::swap (this->_wstr, temp._wstr); + std::swap (this->_wstr, temp._wstr); return *this; } diff --git a/CIAO/tools/Config_Handlers/Utils/XercesString.h b/CIAO/tools/Config_Handlers/Utils/XercesString.h index a6f1dabe1db..e7f0059086b 100644 --- a/CIAO/tools/Config_Handlers/Utils/XercesString.h +++ b/CIAO/tools/Config_Handlers/Utils/XercesString.h @@ -5,8 +5,6 @@ #include /**/ "ace/pre.h" -#include "ace/Swap.h" - #if !defined (ACE_LACKS_PRAGMA_ONCE) #pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ |