diff options
author | Son Dinh <dinhs@objectcomputing.com> | 2020-04-21 14:15:23 -0500 |
---|---|---|
committer | Son Dinh <dinhs@objectcomputing.com> | 2020-04-21 14:15:23 -0500 |
commit | 551fedf2a88deb604a3ec1184c6f40c98782cdd6 (patch) | |
tree | e8a3cf75136220bb632a5fe8fc4f0f5ce0ccf7e1 /TAO/TAO_IDL/be_include/be_helper.h | |
parent | 28eb828a89f225b5aced9ec600d357107b6df16a (diff) | |
download | ATCD-551fedf2a88deb604a3ec1184c6f40c98782cdd6.tar.gz |
move headers out of namespace
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_helper.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_helper.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be_include/be_helper.h b/TAO/TAO_IDL/be_include/be_helper.h index bd6b6024f75..3943c765862 100644 --- a/TAO/TAO_IDL/be_include/be_helper.h +++ b/TAO/TAO_IDL/be_include/be_helper.h @@ -17,6 +17,11 @@ #include "ace/CDR_Base.h" #include "ace/SString.h" +#if defined (ACE_HAS_CPP11) +#include "ace/OS_NS_stdio.h" +#include <type_traits> +#endif /* ACE_HAS_CPP11 */ + class Identifier; class UTL_IdList; class AST_Expression; @@ -168,9 +173,6 @@ public: // =overloaded operators #if defined (ACE_HAS_CPP11) -#include <type_traits> -#include "ace/OS_NS_stdio.h" - // Avoid duplication of overloaded operator for unsigned long template <typename Dummy = TAO_OutStream &> typename std::enable_if<std::is_same<Dummy, TAO_OutStream &>::value && @@ -181,7 +183,7 @@ public: { ACE_OS::fprintf (this->fp_, "%lu", - (unsigned long) num); + num); return *this; } |