diff options
author | Jaeseung Ha <ipknhama@gmail.com> | 2017-09-18 00:44:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-18 00:44:36 +0900 |
commit | 6da6579ce94a06f5389db62340b762fcb56f7c39 (patch) | |
tree | 77aa4aa0f2cbfd139dc3194a3cf113ed2100454f /examples/example_chat.cpp | |
parent | 194a9ef6812e3d5476419e33be2756ab69fc0696 (diff) | |
parent | 08acc7c0bedc24bf5b8c6cc01f1701b0d45e141e (diff) | |
download | crow-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.cpp | 2 |
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; |