From 1e5e37a9d1af571e962671db95b23c7cc7ddce6d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 16 May 2021 18:38:30 +0300 Subject: remove VS 2013 cruft --- test/unit_tests/resource.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/unit_tests/resource.cpp') diff --git a/test/unit_tests/resource.cpp b/test/unit_tests/resource.cpp index 66556d5..2f63703 100644 --- a/test/unit_tests/resource.cpp +++ b/test/unit_tests/resource.cpp @@ -8,7 +8,6 @@ #include #include -#include #include #include @@ -39,13 +38,13 @@ BOOST_TEST_SPECIALIZED_COLLECTION_COMPARE(Buffer); BOOST_AUTO_TEST_SUITE(resource_tests) BOOST_AUTO_TEST_CASE(get_string) { - BOOST_STATIC_CONSTEXPR auto expected = "This is a test resource string!"; + static constexpr auto expected = "This is a test resource string!"; const auto actual = Process::get_resource_string(IDS_TEST_STRING); BOOST_TEST(actual == expected); } BOOST_AUTO_TEST_CASE(get_string_wide) { - BOOST_STATIC_CONSTEXPR auto expected = "This is another test string, wide this time."; + static constexpr auto expected = "This is another test string, wide this time."; const auto actual = Process::get_resource_string(IDS_TEST_STRING_WIDE); BOOST_TEST(actual == expected); } -- cgit v1.2.3