Index: base/json/json_reader.cc |
diff --git a/base/json/json_reader.cc b/base/json/json_reader.cc |
index 2050b0ff310e059e641b918f8a00652a5f83dcbd..cdebe9978b6d55d7c1875d0ddd9b25b47f91c77c 100644 |
--- a/base/json/json_reader.cc |
+++ b/base/json/json_reader.cc |
@@ -11,8 +11,8 @@ |
namespace base { |
// Values 1000 and above are used by JSONFileValueSerializer::JsonFileError. |
-COMPILE_ASSERT(JSONReader::JSON_PARSE_ERROR_COUNT < 1000, |
- json_reader_error_out_of_bounds); |
+static_assert(JSONReader::JSON_PARSE_ERROR_COUNT < 1000, |
+ "json_reader_error_out_of_bounds"); |
const char JSONReader::kInvalidEscape[] = |
"Invalid escape sequence."; |