]> git.lyx.org Git - lyx.git/blobdiff - src/support/DebugStream.h
fix lyxalgo.h, dra pagebreak with text on line, change the math_deco_search a bit
[lyx.git] / src / support / DebugStream.h
index 6fb383ed9fb91fa63585d56bdd47e50824e03e75..946f7173afefdc74ae2341f66597d32aabbb7089 100644 (file)
 #ifndef DEBUGSTREAM_H
 #define DEBUGSTREAM_H
 
-#ifdef _STANDARD_C_PLUS_PLUS
-#define MODERN_STL
-#endif
-
-#ifdef MODERN_STL
-#include <ostream>
-#else
 #include <iostream>
-#endif
-
-//#ifdef MODERN_STL
-using std::ostream;
-using std::streambuf;
-using std::streamsize;
-using std::filebuf;
-using std::cerr;
-using std::ios;
-using std::endl; 
-//#endif
 
 #ifdef TEST_DEBUGSTREAM
 #include <string>
@@ -103,7 +85,7 @@ struct Debug {
 class DebugStream : public ostream {
 public:
        /// Constructor, sets the debug level to t.
-       DebugStream(Debug::type t = Debug::NONE);
+       explicit DebugStream(Debug::type t = Debug::NONE);
        
        /// Constructor, sets the log file to f, and the debug level to t.
        DebugStream(char const * f, Debug::type t = Debug::NONE);