소스 검색

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");