aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example_chat.cpp
diff options
context:
space:
mode:
authoryorickdewid <yorick17@outlook.com>2016-10-03 13:47:22 +0200
committeryorickdewid <yorick17@outlook.com>2016-10-03 13:47:22 +0200
commitf4f6b024038a6b777507c1d6b848ae5bab2c7422 (patch)
tree5fc3f586c80ecd49a468909dbde8deccd32dfc42 /examples/example_chat.cpp
parent4e39b23e455e455f1878b3e68d729a1737f3e431 (diff)
downloadcrow-f4f6b024038a6b777507c1d6b848ae5bab2c7422.tar.gz
crow-f4f6b024038a6b777507c1d6b848ae5bab2c7422.zip
Set cast type without dereferencing pointer
Diffstat (limited to 'examples/example_chat.cpp')
-rw-r--r--examples/example_chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example_chat.cpp b/examples/example_chat.cpp
index d187f51..c510bb0 100644
--- a/examples/example_chat.cpp
+++ b/examples/example_chat.cpp
@@ -15,7 +15,7 @@ void broadcast(const string& msg)
x["msgs"][0] = msgs.back();
x["last"] = msgs.size();
string body = crow::json::dump(x);
- for(auto p:ress)
+ for(auto p : ress)
{
auto* res = p.first;
CROW_LOG_DEBUG << res << " replied: " << body;