initialize all members
This commit is contained in:
parent
47d650ff82
commit
9a3fd520a0
3 changed files with 10 additions and 7 deletions
|
@ -24,6 +24,8 @@ class config;
|
|||
//this object holds the schema by which config objects can be compressed and decompressed.
|
||||
struct compression_schema
|
||||
{
|
||||
compression_schema() : char_to_word(), word_to_char() { }
|
||||
|
||||
typedef std::map< unsigned int, std::string > char_word_map;
|
||||
char_word_map char_to_word;
|
||||
|
||||
|
|
|
@ -87,15 +87,16 @@ public:
|
|||
};
|
||||
|
||||
preprocessor_streambuf::preprocessor_streambuf(preproc_map *def)
|
||||
: current_(NULL), defines_(def), textdomain_(PACKAGE),
|
||||
depth_(0), buffer_size_(0), quoted_(false)
|
||||
: streambuf(), out_buffer_(""), buffer_(), current_(NULL), defines_(def),
|
||||
textdomain_(PACKAGE), location_(""), linenum_(0), depth_(0),
|
||||
buffer_size_(0), quoted_(false)
|
||||
{
|
||||
}
|
||||
|
||||
preprocessor_streambuf::preprocessor_streambuf(preprocessor_streambuf const &t)
|
||||
: streambuf(), current_(NULL), defines_(t.defines_),
|
||||
textdomain_(PACKAGE), depth_(t.depth_),buffer_size_(0),
|
||||
quoted_(t.quoted_)
|
||||
: streambuf(), out_buffer_(""), buffer_(), current_(NULL), defines_(t.defines_),
|
||||
textdomain_(PACKAGE), location_(""), linenum_(0), depth_(t.depth_),
|
||||
buffer_size_(0), quoted_(t.quoted_)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
|
||||
struct preproc_define
|
||||
{
|
||||
preproc_define() {}
|
||||
explicit preproc_define(std::string const &val) : value(val) {}
|
||||
preproc_define() : value(""), arguments(), textdomain(""), linenum(0), location("") {}
|
||||
explicit preproc_define(std::string const &val) : value(val), arguments(), textdomain(""), linenum(0), location("") {}
|
||||
preproc_define(std::string const &val, std::vector< std::string > const &args,
|
||||
std::string const &domain, int line, std::string const &loc)
|
||||
: value(val), arguments(args), textdomain(domain), linenum(line), location(loc) {}
|
||||
|
|
Loading…
Add table
Reference in a new issue