diff options
Diffstat (limited to 'ace/Assert.cpp')
-rw-r--r-- | ace/Assert.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/ace/Assert.cpp b/ace/Assert.cpp deleted file mode 100644 index c46d30793ab..00000000000 --- a/ace/Assert.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// $Id$ - -#include "ace/Assert.h" -#include "ace/Log_Msg.h" - -ACE_RCSID(ace, Assert, "$Id$") - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -// The following ASSERT macro is courtesy of Alexandre Karev -// <akg@na47sun05.cern.ch>. -void -__ace_assert(const char *file, int line, const ACE_TCHAR *expression) -{ - int error = ACE_Log_Msg::last_error_adapter (); - ACE_Log_Msg *log = ACE_Log_Msg::instance (); - - log->set (file, line, -1, error, log->restart (), - log->msg_ostream (), log->msg_callback ()); - - log->log (LM_ERROR, ACE_LIB_TEXT ("ACE_ASSERT: file %N, line %l assertion failed for '%s'.%a\n"), expression, -1); -} - -ACE_END_VERSIONED_NAMESPACE_DECL |