All unit tests compile, but crash. This is the most horrifying commit I've ever made.

This commit is contained in:
Pavel Kirienko
2015-07-01 14:55:24 +03:00
parent feb7600f17
commit 8a2e22046e
42 changed files with 421 additions and 587 deletions
+2 -2
View File
@@ -94,14 +94,14 @@ public:
* Must be called once before use.
* Returns negative error code.
*/
int init()
int init(TransferPriority priority = TransferPriority::OneHigherThanLowest)
{
const int res = logmsg_pub_.init();
if (res < 0)
{
return res;
}
logmsg_pub_.setPriority(TransferPriorityLow); // Fixed priority
logmsg_pub_.setPriority(priority); // Fixed priority
return 0;
}