diff options
Diffstat (limited to 'ACE/tests/Test_Output.cpp')
-rw-r--r-- | ACE/tests/Test_Output.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/tests/Test_Output.cpp b/ACE/tests/Test_Output.cpp index dc236ce0567..a886cfed6a3 100644 --- a/ACE/tests/Test_Output.cpp +++ b/ACE/tests/Test_Output.cpp @@ -35,7 +35,7 @@ ACE_Test_Output *ACE_Test_Output::instance_ = 0; -ACE_Test_Output::ACE_Test_Output (void) +ACE_Test_Output::ACE_Test_Output () : output_file_ (0) { #if !defined (ACE_LACKS_IOSTREAM_TOTALLY) @@ -43,7 +43,7 @@ ACE_Test_Output::ACE_Test_Output (void) #endif /* ACE_LACKS_IOSTREAM_TOTALLY */ } -ACE_Test_Output::~ACE_Test_Output (void) +ACE_Test_Output::~ACE_Test_Output () { #if !defined (ACE_LACKS_IOSTREAM_TOTALLY) ACE_LOG_MSG->msg_ostream (&cerr, 0); @@ -59,7 +59,7 @@ ACE_Test_Output::~ACE_Test_Output (void) } OFSTREAM * -ACE_Test_Output::output_file (void) +ACE_Test_Output::output_file () { // the output_file_ is loaned to ACE_LOG_MSG // and something else might destroy and/or change the stream @@ -160,7 +160,7 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append) } void -ACE_Test_Output::close (void) +ACE_Test_Output::close () { if (this->output_file_ && (this->output_file_ == ACE_LOG_MSG->msg_ostream ())) @@ -199,19 +199,19 @@ ACE_Test_Output::instance () } const ACE_TCHAR * -ACE_Test_Output::dll_name (void) +ACE_Test_Output::dll_name () { return ACE_TEXT ("Test_Output"); } const ACE_TCHAR * -ACE_Test_Output::name (void) +ACE_Test_Output::name () { return ACE_TEXT ("ACE_Test_Output"); } void -ACE_Test_Output::close_singleton (void) +ACE_Test_Output::close_singleton () { delete ACE_Test_Output::instance_; ACE_Test_Output::instance_ = 0; |