diff --git a/test/cppmp/cppmp_getter_tests.cpp b/test/cppmp/cppmp_getter_tests.cpp index 2da0a16..cfa9302 100644 --- a/test/cppmp/cppmp_getter_tests.cpp +++ b/test/cppmp/cppmp_getter_tests.cpp @@ -57,11 +57,11 @@ TEST(cppmp_getter_tests, static_func) TEST(cppmp_getter_tests, lambda) { - test_obj o { 1 }; + test_obj obj { 1 }; auto g = make_getter([](test_obj& o){ return o.value; }); - EXPECT_EQ(1, g(o)); + EXPECT_EQ(1, g(obj)); } diff --git a/test/cppmp/cppmp_setter_tests.cpp b/test/cppmp/cppmp_setter_tests.cpp index eed7cd8..b4e90e4 100644 --- a/test/cppmp/cppmp_setter_tests.cpp +++ b/test/cppmp/cppmp_setter_tests.cpp @@ -61,12 +61,12 @@ TEST(cppmp_setter_tests, static_func) TEST(cppmp_setter_tests, lambda) { - test_obj o { 1 }; + test_obj obj { 1 }; auto s = make_setter([](test_obj& o, int v){ o.value = v; }); - s(o, 1); + s(obj, 1); - EXPECT_EQ(1, o.value); + EXPECT_EQ(1, obj.value); }