From 70b7455a139b57df884e46da3c7ed778cd762acd Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 19 Jun 2017 21:50:36 +0200 Subject: [PATCH] :hammer: minor change --- src/json.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json.hpp b/src/json.hpp index 146b52867..b4dc422d8 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -12529,7 +12529,7 @@ scan_number_done: } /// return syntax error message - const char* get_error_message() const noexcept + constexpr const char* get_error_message() const noexcept { return error_message; }