Andre Poenitz wrote:
On Sun, Dec 02, 2007 at 08:09:17AM -0000, [EMAIL PROTECTED] wrote:
Author: younes
Date: Sun Dec 2 09:09:16 2007
New Revision: 21902
URL: http://www.lyx.org/trac/changeset/21902
Log:
cosmetics.
Modified:
lyx-devel/trunk/src/support/lyxsum.cpp
Modified: lyx-devel/trunk/src/support/lyxsum.cpp
URL:
http://www.lyx.org/trac/file/lyx-devel/trunk/src/support/lyxsum.cpp?rev=21902
==============================================================================
--- lyx-devel/trunk/src/support/lyxsum.cpp (original)
+++ lyx-devel/trunk/src/support/lyxsum.cpp Sun Dec 2 09:09:16 2007
@@ -111,42 +111,30 @@
namespace support {
using std::ifstream;
-#if HAVE_DECL_ISTREAMBUF_ITERATOR
using std::istreambuf_iterator;
+using std::istream_iterator;
+using std::ios;
+using std::ios_base;
Should we discuss allowing 'using namespace std;' in .cpp files?
Another old battle ? ;-)
Quite few changes we do are related to the 'using' lines, and there
is no actual gain.
I always thought this was due to some gcc limitations.
If there were a real conflict we'd jsut rename our
stuff (and there is none that I am aware of, actually)
I completely agree. I am really fad up of compil&fix session every time
I move code between two files.
Abdel.