Skip to content

Commit ef34911

Browse files
committed
Removed global namespace using from XercesStrUtils.h
Moved the macro for the using directive into the namespace defined in the header.
1 parent 98e05a9 commit ef34911

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CondFormats/PPSObjects/src/CTPPSRPAlignmentCorrectionsMethods.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
#include <map>
3131
#include <set>
3232

33+
#ifdef XERCES_CPP_NAMESPACE_USE
34+
XERCES_CPP_NAMESPACE_USE
35+
#endif
36+
3337
//----------------------------------------------------------------------------------------------------
3438

3539
/**

Utilities/Xerces/interface/XercesStrUtils.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
#include <memory>
77
#include <sstream>
88

9+
namespace cms {
10+
namespace xerces {
11+
912
#ifdef XERCES_CPP_NAMESPACE_USE
10-
XERCES_CPP_NAMESPACE_USE
13+
XERCES_CPP_NAMESPACE_USE
1114
#endif
1215

13-
namespace cms {
14-
namespace xerces {
1516
inline void dispose(XMLCh* ptr) { XMLString::release(&ptr); }
1617
inline void dispose(char* ptr) { XMLString::release(&ptr); }
1718

0 commit comments

Comments
 (0)