aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example_chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example_chat.cpp')
-rw-r--r--examples/example_chat.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/example_chat.cpp b/examples/example_chat.cpp
index ae031b7..d187f51 100644
--- a/examples/example_chat.cpp
+++ b/examples/example_chat.cpp
@@ -1,6 +1,4 @@
#include "crow.h"
-#include "json.h"
-#include "mustache.h"
#include <string>
#include <vector>
#include <chrono>
@@ -50,7 +48,7 @@ int main()
});
CROW_ROUTE(app, "/logs/<int>")
- ([](const crow::request& req, crow::response& res, int after){
+ ([](const crow::request& /*req*/, crow::response& res, int after){
CROW_LOG_INFO << "logs with last " << after;
if (after < (int)msgs.size())
{