Skip to content
Snippets Groups Projects
Commit 9999e3e5 authored by Administrator's avatar Administrator
Browse files

Fix compiler error

A static const class member in a cout statement results in an undefined symbol
when linking an executable using the class.
The solution is to do a static cast of the variable in the cout statement.
parent 6f7f4568
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ try {
if ("" == fsTsBlockName) {
//
LOG(info) << "Requesting TS using the SysId: 0x" << std::hex << kusSysId << std::dec;
LOG(info) << "Requesting TS using the SysId: 0x" << std::hex << static_cast<int>(kusSysId) << std::dec;
}
else {
//
......
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