From c6fcadfbd567e8f259cb5dfb27e5be18fe1a43f9 Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Sun, 16 Oct 2016 14:46:21 +0200 Subject: [PATCH] by ref --- server/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/config.h b/server/config.h index 0929b03d..e25090f8 100644 --- a/server/config.h +++ b/server/config.h @@ -30,7 +30,7 @@ using json = nlohmann::json; template -T jGet(json j, const std::string& what, const T& def) +T jGet(const json& j, const std::string& what, const T& def) { try {