]> git.lyx.org Git - lyx.git/blobdiff - src/support/DebugStream.h
noncopyable + read ChangeLog
[lyx.git] / src / support / DebugStream.h
index b19c4b812b060953a02ee2f3bbdb6e81c52f8340..703bbdf4fbeb2b344e030137e1d64dc13054df13 100644 (file)
 #ifndef DEBUGSTREAM_H
 #define DEBUGSTREAM_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "LOstream.h"
 
 #ifdef TEST_DEBUGSTREAM
@@ -87,10 +91,11 @@ struct Debug {
 // 1.0.x), which generates a compiler error when subclassing from
 // std::. (JMarc)
 #ifdef CXX_WORKING_NAMESPACES
-class DebugStream : public std::ostream {
+class DebugStream : public std::ostream
 #else
-class DebugStream : public ostream {
+class DebugStream : public ostream
 #endif
+{
 public:
        /// Constructor, sets the debug level to t.
        explicit DebugStream(Debug::type t = Debug::NONE);