From f4f6b024038a6b777507c1d6b848ae5bab2c7422 Mon Sep 17 00:00:00 2001 From: yorickdewid Date: Mon, 3 Oct 2016 13:47:22 +0200 Subject: Set cast type without dereferencing pointer --- examples/example_chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/example_chat.cpp') 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; -- cgit v1.2.3-54-g00ecf