Pārlūkot izejas kodu

Missed removing braces on one of the exceptions

Sam Jaffe 8 gadi atpakaļ
vecāks
revīzija
a4c6ae5b2d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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");