Bläddra i källkod

Missed removing braces on one of the exceptions

Sam Jaffe 8 år sedan
förälder
incheckning
a4c6ae5b2d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      json_common.cpp

+ 1 - 1
json_common.cpp

@@ -78,7 +78,7 @@ namespace json {
       }
       
       if ( is_negative && base != decimal ) {
-        throw json_numeric_exception{"Only decimal numbers can be recorded as negative"};
+        throw json_numeric_exception("Only decimal numbers can be recorded as negative");
       }
       if (end == it) {
         throw unterminated_json_exception("Expected any token, got nothing");