Author: mordante
Date: Sat May 26 16:23:45 2007
New Revision: 17868
URL: http://svn.gna.org/viewcvs/wesnoth?rev=17868&view=rev
Log:
reordered some stuff to kill a compiler warning.
Modified:
trunk/src/serialization/preprocessor.cpp
Modified: trunk/src/serialization/preprocessor.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/preprocessor.cpp?rev=17868&r1=17867&r2=17868&view=diff
==============================================================================
--- trunk/src/serialization/preprocessor.cpp (original)
+++ trunk/src/serialization/preprocessor.cpp Sat May 26 16:23:45 2007
@@ -67,7 +67,6 @@
std::string out_buffer_;
virtual int underflow();
std::ostringstream buffer_;
- int buffer_size_;
preprocessor *current_;
preproc_map *defines_;
preproc_map default_defines_;
@@ -75,6 +74,7 @@
std::string location_;
int linenum_;
int depth_;
+ int buffer_size_;
bool quoted_;
friend class preprocessor;
friend class preprocessor_file;
@@ -87,13 +87,14 @@
preprocessor_streambuf::preprocessor_streambuf(preproc_map *def)
: current_(NULL), defines_(def), textdomain_(PACKAGE),
- depth_(0), quoted_(false), buffer_size_(0)
+ depth_(0), buffer_size_(0), quoted_(false)
{
}
preprocessor_streambuf::preprocessor_streambuf(preprocessor_streambuf const &t)
- : streambuf(), current_(NULL), defines_(t.defines_), buffer_size_(0),
- textdomain_(PACKAGE), depth_(t.depth_), quoted_(t.quoted_)
+ : streambuf(), current_(NULL), defines_(t.defines_),
+ textdomain_(PACKAGE), depth_(t.depth_),buffer_size_(0),
+ quoted_(t.quoted_)
{
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits