Преглед изворни кода

Missed removing braces on one of the exceptions

Sam Jaffe пре 8 година
родитељ
комит
a4c6ae5b2d
1 измењених фајлова са 1 додато и 1 уклоњено
  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");