Added constructor to initialize all members and initialize all members.

This commit is contained in:
Mark de Wever 2008-07-21 19:38:43 +00:00
parent b4bfe2ed79
commit f0ef4daa9c

View file

@ -118,7 +118,9 @@ struct buffer {
sock(sock),
config_buf(),
config_error(""),
gzipped(false)
stream(),
gzipped(false),
raw_buffer()
{}
TCPsocket sock;
@ -147,6 +149,12 @@ buffer_set outgoing_bufs[NUM_SHARDS];
struct schema_pair
{
schema_pair() :
incoming(),
outgoing()
{
}
compression_schema incoming, outgoing;
};