From 832d474daba4356ed71fe9e5b263fc42d9236fc9 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 12 Dec 2007 20:21:09 +0000 Subject: [PATCH] Compile fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22108 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TexStream.cpp | 2 +- src/client/boost.cpp | 2 +- src/client/debug.cpp | 2 +- src/client/gettext.cpp | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/TexStream.cpp b/src/TexStream.cpp index 1d4206ae27..3ac285ee13 100644 --- a/src/TexStream.cpp +++ b/src/TexStream.cpp @@ -78,7 +78,7 @@ int TexStreamBuffer::sync() //////////////////////////////////////////////////////////////// TexStream::TexStream(TexStreamBase * sbuf, TexRow * texrow) - : basic_ostream(sbuf_ = new TexStreamBuffer(sbuf, texrow)) + : std::basic_ostream(sbuf_ = new TexStreamBuffer(sbuf, texrow)) {} diff --git a/src/client/boost.cpp b/src/client/boost.cpp index d5b33af3c8..c757c394f5 100644 --- a/src/client/boost.cpp +++ b/src/client/boost.cpp @@ -19,7 +19,7 @@ #include #include -using endl; +using namespace std; namespace boost { diff --git a/src/client/debug.cpp b/src/client/debug.cpp index a024a206ee..cd4e02a5fc 100644 --- a/src/client/debug.cpp +++ b/src/client/debug.cpp @@ -122,7 +122,7 @@ bool LyXErr::debugging(Debug::Type t) const void LyXErr::endl() { - stream() << endl; + stream() << std::endl; } diff --git a/src/client/gettext.cpp b/src/client/gettext.cpp index 013daf967f..e62c0efa51 100644 --- a/src/client/gettext.cpp +++ b/src/client/gettext.cpp @@ -15,7 +15,6 @@ #include "Messages.h" using namespace std; -using namespace lyx::support; namespace lyx {