summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/tests/Config_Handlers/Handler_Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/tests/Config_Handlers/Handler_Test.h')
-rw-r--r--TAO/CIAO/DAnCE/tests/Config_Handlers/Handler_Test.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/TAO/CIAO/DAnCE/tests/Config_Handlers/Handler_Test.h b/TAO/CIAO/DAnCE/tests/Config_Handlers/Handler_Test.h
index b51a6e4c00b..a5598e8a55c 100644
--- a/TAO/CIAO/DAnCE/tests/Config_Handlers/Handler_Test.h
+++ b/TAO/CIAO/DAnCE/tests/Config_Handlers/Handler_Test.h
@@ -6,6 +6,8 @@
#include "ace/Log_Msg.h"
#include "ace/OS_main.h"
+#ifndef ACE_HAS_BROKEN_NESTED_TEMPLATES
+
#include "ace/Get_Opt.h"
#include "ace/Auto_Ptr.h"
#include "tao/Exception.h"
@@ -40,13 +42,9 @@ using xercesc::DOMNodeFilter;
template <typename HANDLER, typename DATA>
int run_test (int argc, ACE_TCHAR *argv[], void (HANDLER::*func) (DATA&));
+#include "Handler_Test.i"
-#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
-#include "Handler_Test.cpp"
-#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
-
-#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
-#pragma implementation ("Handler_Test.cpp")
-#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
+#endif // ACE_HAS_BROKEN_NESTED_TEMPLATES
#endif // HANDLER_TEST_H
+