summaryrefslogtreecommitdiff
path: root/ace/Logging_Strategy.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-10-28 16:14:56 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-10-28 16:14:56 +0000
commit94c5b51fa8ed6e5520da2cf5def58b5c0986f072 (patch)
treec4fe2b70acf02ce19d199713fff6dec5645d8a93 /ace/Logging_Strategy.cpp
parent3720d45374c2890b3f9e86ff8ae8a3d4a60ecd29 (diff)
downloadATCD-94c5b51fa8ed6e5520da2cf5def58b5c0986f072.tar.gz
ChangeLogTag:Fri Oct 28 00:01:06 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/Logging_Strategy.cpp')
-rw-r--r--ace/Logging_Strategy.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/ace/Logging_Strategy.cpp b/ace/Logging_Strategy.cpp
index c07d59538fa..8e393a81e31 100644
--- a/ace/Logging_Strategy.cpp
+++ b/ace/Logging_Strategy.cpp
@@ -20,6 +20,8 @@ ACE_RCSID (ace,
"$Id$")
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// Parse the string containing (thread) priorities and set them
// accordingly.
@@ -360,7 +362,7 @@ ACE_Logging_Strategy::init (int argc, ACE_TCHAR *argv[])
if (output_file->rdstate () != ios::goodbit)
{
- if (delete_ostream)
+ if (delete_ostream)
delete output_file;
return -1;
}
@@ -547,9 +549,10 @@ ACE_Logging_Strategy::log_msg (ACE_Log_Msg *log_msg)
this->log_msg_ = log_msg;
}
+ACE_END_VERSIONED_NAMESPACE_DECL
+
// The following is a "Factory" used by the ACE_Service_Config and
// svc.conf file to dynamically initialize the state of the
// Logging_Strategy.
ACE_FACTORY_DEFINE (ACE, ACE_Logging_Strategy)
-