diff options
author | Alex Zolotarev <alex@maps.me> | 2015-06-24 13:39:30 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:52:30 +0300 |
commit | f2aa6313315d27176ca3163f19c8fbe3e7919f5c (patch) | |
tree | e8a7354c08a86a6daeb99be6bcc604ba94720598 /platform/platform_tests/language_test.cpp | |
parent | 9e2c0b978e26d5b668fa36c3a01fac79913932db (diff) |
Replaced boost’s STATIC_ASSERT with a C++11 one.
Diffstat (limited to 'platform/platform_tests/language_test.cpp')
-rw-r--r-- | platform/platform_tests/language_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/platform_tests/language_test.cpp b/platform/platform_tests/language_test.cpp index 8697f2f8f4..a8b8609dce 100644 --- a/platform/platform_tests/language_test.cpp +++ b/platform/platform_tests/language_test.cpp @@ -9,7 +9,7 @@ UNIT_TEST(LangNormalize_Smoke) { char const * arr1[] = { "en", "en-GB", "zh", "es-SP", "zh-penyn", "en-US", "ru_RU", "es" }; char const * arr2[] = { "en", "en", "zh", "es", "zh", "en", "ru", "es" }; - STATIC_ASSERT(ARRAY_SIZE(arr1) == ARRAY_SIZE(arr2)); + static_assert(ARRAY_SIZE(arr1) == ARRAY_SIZE(arr2), ""); for (size_t i = 0; i < ARRAY_SIZE(arr1); ++i) TEST_EQUAL(arr2[i], languages::Normalize(arr1[i]), ()); |