Hi Jacob,

Yes this looks like a bug introduced in commit 
aee0cfacdec732ab250a735c3d06841f407f5bdc, the parameter was renamed but the 
assert was not updated.

I filed https://jira.allseenalliance.org/browse/ASACORE-2665 for this.

-Todd

From: [email protected] 
[mailto:[email protected]] On Behalf Of Gladish, 
Jacob
Sent: Thursday, December 31, 2015 2:28 PM
To: [email protected]
Subject: [Allseen-core] registering logger

Does anyone know if this is intentional or a typo?

void DebugControl::Register(QCC_DbgMsgCallback callback, void* cbContext)
{
    assert(cb != NULL);
    this->context = cbContext;
    this->cb = callback;
}

Should at be assert(callback != NULL) ?
_______________________________________________
Allseen-core mailing list
[email protected]
https://lists.allseenalliance.org/mailman/listinfo/allseen-core

Reply via email to