Bugfix in Logger.h
This commit is contained in:
@@ -33,7 +33,7 @@ public:
|
||||
return false;
|
||||
|
||||
memcpy(&data_[currentSize_], &time, sizeof(time));
|
||||
currentSize_ += time;
|
||||
currentSize_ += sizeof(time);
|
||||
|
||||
const auto spaceLeft = totalSize_ - currentSize_;
|
||||
auto charsWritten = snprintf(&data_[currentSize_], spaceLeft, formatStr,
|
||||
|
||||
Reference in New Issue
Block a user