diff options
-rw-r--r-- | include/tgbot/TgTypeParser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tgbot/TgTypeParser.h b/include/tgbot/TgTypeParser.h index 45650c7..e9f79e2 100644 --- a/include/tgbot/TgTypeParser.h +++ b/include/tgbot/TgTypeParser.h @@ -495,9 +495,9 @@ private: } inline void appendToJson(std::string& json, const std::string& varName, const char* value) const { - if(value!=nullptr){ - std::string strvalue(value); - appendToJson(json,varName,strvalue); + if (value != nullptr){ + std::string strValue(value); + appendToJson(json, varName, strValue); } } |