File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 6767 },
6868 {
6969 "name" : " oup_speed_benchmark" ,
70- "shell_cmd" : " make -j12 oup_speed_benchmark"
70+ "shell_cmd" : " make -j12 oup_speed_benchmark" ,
7171 },
7272 {
7373 "name" : " snatch" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ include(FetchContent)
3333
3434FetchContent_Declare(snatch
3535 GIT_REPOSITORY https://github.com/cschreib/snatch.git
36- GIT_TAG v0.1.0 )
36+ GIT_TAG v0.1.2 )
3737FetchContent_MakeAvailable(snatch)
3838
3939set (RUNTIME_TEST_FILES
Original file line number Diff line number Diff line change @@ -217,10 +217,10 @@ TEMPLATE_LIST_TEST_CASE(
217217 {
218218 TestType ptr = make_pointer_deleter_1<TestType>();
219219 observer_ptr<TestType> optr{ptr};
220- WARNING_PUSH ;
221- WARNING_DISABLE_SELF_ASSIGN ;
220+ SNATCH_WARNING_PUSH ;
221+ SNATCH_WARNING_DISABLE_SELF_ASSIGN ;
222222 optr = optr;
223- WARNING_POP ;
223+ SNATCH_WARNING_POP ;
224224
225225 CHECK (optr.get () == ptr.get ());
226226 CHECK (optr.expired () == false );
@@ -236,10 +236,10 @@ TEMPLATE_LIST_TEST_CASE(
236236
237237 {
238238 observer_ptr<TestType> optr;
239- WARNING_PUSH ;
240- WARNING_DISABLE_SELF_ASSIGN ;
239+ SNATCH_WARNING_PUSH ;
240+ SNATCH_WARNING_DISABLE_SELF_ASSIGN ;
241241 optr = optr;
242- WARNING_POP ;
242+ SNATCH_WARNING_POP ;
243243
244244 CHECK (optr.get () == nullptr );
245245 CHECK (optr.expired () == true );
Original file line number Diff line number Diff line change @@ -631,12 +631,12 @@ using owner_types = std::tuple<
631631
632632// clang-format off
633633#if defined(__clang__)
634- # define WARNING_DISABLE_SELF_ASSIGN _Pragma (" clang diagnostic ignored \" -Wself-assign-overloaded\" " )
634+ # define SNATCH_WARNING_DISABLE_SELF_ASSIGN _Pragma (" clang diagnostic ignored \" -Wself-assign-overloaded\" " )
635635#elif defined(__GNUC__)
636- # define WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
636+ # define SNATCH_WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
637637#elif defined(_MSC_VER)
638- # define WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
638+ # define SNATCH_WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
639639#else
640- # define WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
640+ # define SNATCH_WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
641641#endif
642642// clang-format on
You can’t perform that action at this time.
0 commit comments