aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/shmem.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-16 18:38:30 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-16 18:44:21 +0300
commit1e5e37a9d1af571e962671db95b23c7cc7ddce6d (patch)
treee4b9900e7f4c1973fa4670f5d43a140bc551098a /test/unit_tests/shmem.cpp
parentupdate cmake-common (diff)
downloadwinapi-common-1e5e37a9d1af571e962671db95b23c7cc7ddce6d.tar.gz
winapi-common-1e5e37a9d1af571e962671db95b23c7cc7ddce6d.zip
remove VS 2013 cruft
Diffstat (limited to 'test/unit_tests/shmem.cpp')
-rw-r--r--test/unit_tests/shmem.cpp9
1 files changed, 4 insertions, 5 deletions
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 <winapi/shmem.hpp>
-#include <boost/config.hpp>
#include <boost/test/unit_test.hpp>
#include <condition_variable>
@@ -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;