initialize all members in ctor

This commit is contained in:
Guenter Obiltschnig
2016-09-26 18:10:07 +02:00
parent 9cefa0d888
commit 22a5def393

View File

@@ -47,7 +47,10 @@ SQLChannel::SQLChannel():
_table("T_POCO_LOG"), _table("T_POCO_LOG"),
_timeout(1000), _timeout(1000),
_throw(true), _throw(true),
_async(true) _async(true),
_pid(),
_tid(),
_priority()
{ {
} }
@@ -61,7 +64,10 @@ SQLChannel::SQLChannel(const std::string& connector,
_table("T_POCO_LOG"), _table("T_POCO_LOG"),
_timeout(1000), _timeout(1000),
_throw(true), _throw(true),
_async(true) _async(true),
_pid(),
_tid(),
_priority()
{ {
open(); open();
} }