Commit 6e9044c9 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

flush cout

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1906
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 2a8af387
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: error.cc,v 1.4 2002-11-27 16:18:54 forbrig Exp $
* $Id: error.cc,v 1.5 2005-07-28 09:36:44 tforb Exp $
* \author Thomas Forbriger
* \date 27/11/2002
*
......@@ -19,7 +19,7 @@
#define TF_ERROR_CC_VERSION \
"TF_ERROR_CC V1.0 "
#define TF_ERROR_CC_CVSID \
"$Id: error.cc,v 1.4 2002-11-27 16:18:54 forbrig Exp $"
"$Id: error.cc,v 1.5 2005-07-28 09:36:44 tforb Exp $"
#include <iostream>
#include <tfxx/error.h>
......@@ -85,6 +85,7 @@ namespace error {
//! report
void Exception::base_report() const
{
std::cout.flush();
cerr << "Exception report:" << endl;
if (Mmessage==NULL)
{
......@@ -103,6 +104,7 @@ namespace error {
cerr << " by condition:" << endl
<< " \"" << Mcondition << "\"" << endl;
}
cerr.flush();
}
} // namespace error
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment