Skip to content

Commit 14706b9

Browse files
metsmamrts
authored andcommitted
std::vector does not contain null char at end and fix log output
WE2-340 Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent 9d3f6c2 commit 14706b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/controller/threads/readermonitorthread.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class ReaderMonitorThread : public ControllerChildThread
7373

7474
const std::string& commandType() const override
7575
{
76-
static const std::string cmdType {CommandType::INSERT_CARD};
76+
static const std::string cmdType = CommandType(CommandType::INSERT_CARD);
7777
return cmdType;
7878
}
7979
};

0 commit comments

Comments
 (0)