summaryrefslogtreecommitdiff
path: root/ace/Auto_Event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Auto_Event.cpp')
-rw-r--r--ace/Auto_Event.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/ace/Auto_Event.cpp b/ace/Auto_Event.cpp
index 9e106ac8119..67444d3c886 100644
--- a/ace/Auto_Event.cpp
+++ b/ace/Auto_Event.cpp
@@ -6,11 +6,8 @@
#include "ace/Auto_Event.inl"
#endif /* __ACE_INLINE__ */
-ACE_RCSID (ace,
- Auto_Event,
- "$Id$")
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+ACE_RCSID(ace, Auto_Event, "$Id$")
ACE_Auto_Event::ACE_Auto_Event (int initial_state,
int type,
@@ -19,12 +16,11 @@ ACE_Auto_Event::ACE_Auto_Event (int initial_state,
: ACE_Event (0,
initial_state,
type,
- ACE_TEXT_CHAR_TO_TCHAR (name),
+ ACE_TEXT_TO_TCHAR_IN (name),
arg)
{
}
-#if defined (ACE_HAS_WCHAR)
ACE_Auto_Event::ACE_Auto_Event (int initial_state,
int type,
const wchar_t *name,
@@ -32,11 +28,10 @@ ACE_Auto_Event::ACE_Auto_Event (int initial_state,
: ACE_Event (0,
initial_state,
type,
- ACE_TEXT_WCHAR_TO_TCHAR (name),
+ ACE_TEXT_TO_TCHAR_IN (name),
arg)
{
}
-#endif /* ACE_HAS_WCHAR */
void
ACE_Auto_Event::dump (void) const
@@ -45,5 +40,3 @@ ACE_Auto_Event::dump (void) const
ACE_Event::dump ();
#endif /* ACE_HAS_DUMP */
}
-
-ACE_END_VERSIONED_NAMESPACE_DECL