Skip to content
Snippets Groups Projects
Commit 3e8824f0 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #7342: Initialised DiffNumAck in constructor

parent f6d70ea9
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,8 @@ using std::string;
FromBus::FromBus(const std::string &address, const std::string &options, const std::string &broker)
:Connection(broker)
:Connection(broker),
DiffNumAck(0)
{
try {
open();
......@@ -105,12 +106,12 @@ using std::string;
}
MultiBus::MultiBus(MsgHandler handler, const std::string &address, const std::string &options, const std::string &broker)
: Connection(broker)
: Connection(broker),
DiffNumAck(0)
{
string queuename = string(address);
brokername = string(broker);
state = 0;
DiffNumAck= 0;
try {
open();
state |= S_OPEN;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment