aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example_chat.cpp
diff options
context:
space:
mode:
authorJaeseung Ha <ipknhama@gmail.com>2017-09-18 00:44:36 +0900
committerGitHub <noreply@github.com>2017-09-18 00:44:36 +0900
commit6da6579ce94a06f5389db62340b762fcb56f7c39 (patch)
tree77aa4aa0f2cbfd139dc3194a3cf113ed2100454f /examples/example_chat.cpp
parent194a9ef6812e3d5476419e33be2756ab69fc0696 (diff)
parent08acc7c0bedc24bf5b8c6cc01f1701b0d45e141e (diff)
downloadcrow-6da6579ce94a06f5389db62340b762fcb56f7c39.tar.gz
crow-6da6579ce94a06f5389db62340b762fcb56f7c39.zip
Merge pull request #171 from yorickdewid/master
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;