Skip to content

Commit

Permalink
Preprocessor: more GCC fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Aug 30, 2017
1 parent 6bbc985 commit 81befcd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/serialization/preprocessor.cpp
Expand Up @@ -213,6 +213,8 @@ std::ostream& operator<<(std::ostream& stream, const preproc_map::value_type& de
// PREPROCESSOR BASE
// ==================================================================================

class preprocessor_streambuf;

/**
* Base class for preprocessing an input.
*/
Expand Down Expand Up @@ -354,10 +356,10 @@ class preprocessor_streambuf : public std::streambuf

/** Preprocessor constructor. */
preprocessor::preprocessor(preprocessor_streambuf& t)
: old_textdomain_(t.textdomain_)
: parent_(t)
, old_textdomain_(t.textdomain_)
, old_location_(t.location_)
, old_linenum_(t.linenum_)
, parent_(t)
{
++parent_.depth_;
}
Expand Down

0 comments on commit 81befcd

Please sign in to comment.