diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-02-02 00:10:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-02 00:10:51 +0300 |
commit | 195f88a1da4c3e7860d1995aac579b1ecc07e6db (patch) | |
tree | f4664cfafe80ec245331ed71098b8129c3014318 /src/net | |
parent | f2197c185b27c0ab8259c613a86550545ba5c0ee (diff) | |
download | plus-195f88a1da4c3e7860d1995aac579b1ecc07e6db.tar.gz plus-195f88a1da4c3e7860d1995aac579b1ecc07e6db.tar.bz2 plus-195f88a1da4c3e7860d1995aac579b1ecc07e6db.tar.xz plus-195f88a1da4c3e7860d1995aac579b1ecc07e6db.zip |
Remove useless cast in messageout.cpps20190211
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/messageout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index cfbc90554..60336e02f 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -134,7 +134,7 @@ void MessageOut::writeFloat(const float value, const char *const str) { #ifdef ENABLEDEBUGLOG std::string text = strprintf("writeFloat: %f", value); - DEBUGLOG2(text.c_str(), mPos, str); + DEBUGLOG2(text, mPos, str); #endif expand(4); memcpy(mData + CAST_SIZE(mPos), &value, sizeof(float)); |