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/shmem.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'test/unit_tests/shmem.cpp') diff --git a/test/unit_tests/shmem.cpp b/test/unit_tests/shmem.cpp index 894a0f9..d56242c 100644 --- a/test/unit_tests/shmem.cpp +++ b/test/unit_tests/shmem.cpp @@ -5,7 +5,6 @@ #include -#include #include #include @@ -17,11 +16,11 @@ using namespace winapi; namespace { -BOOST_CONSTEXPR_OR_CONST auto shmem_name = "test-data-struct"; +static constexpr auto shmem_name = "test-data-struct"; -BOOST_CONSTEXPR_OR_CONST int32_t main_data = -1; -BOOST_CONSTEXPR_OR_CONST int32_t setter1_data = 69; -BOOST_CONSTEXPR_OR_CONST int32_t setter2_data = 420; +static constexpr int32_t main_data = -1; +static constexpr int32_t setter1_data = 69; +static constexpr int32_t setter2_data = 420; struct DataStruct { std::mutex mtx; -- cgit v1.2.3