From 195f88a1da4c3e7860d1995aac579b1ecc07e6db Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Feb 2019 00:10:51 +0300 Subject: Remove useless cast in messageout.cpp --- src/net/messageout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3-70-g09d2