File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 67
67
},
68
68
{
69
69
"name" : " oup_speed_benchmark" ,
70
- "shell_cmd" : " make -j12 oup_speed_benchmark"
70
+ "shell_cmd" : " make -j12 oup_speed_benchmark" ,
71
71
},
72
72
{
73
73
"name" : " snatch" ,
74
- "shell_cmd" : " make -j12 snatch"
74
+ "shell_cmd" : " make -j12 snatch" ,
75
75
},
76
76
],
77
77
"working_dir" : " $folder/build" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ include(FetchContent)
33
33
34
34
FetchContent_Declare (snatch
35
35
GIT_REPOSITORY https://github.com/cschreib/snatch.git
36
- GIT_TAG v0.1.0 )
36
+ GIT_TAG v0.1.3 )
37
37
FetchContent_MakeAvailable (snatch )
38
38
39
39
set (RUNTIME_TEST_FILES
Original file line number Diff line number Diff line change @@ -217,10 +217,10 @@ TEMPLATE_LIST_TEST_CASE(
217
217
{
218
218
TestType ptr = make_pointer_deleter_1<TestType>();
219
219
observer_ptr<TestType> optr{ptr};
220
- WARNING_PUSH ;
221
- WARNING_DISABLE_SELF_ASSIGN ;
220
+ SNATCH_WARNING_PUSH ;
221
+ SNATCH_WARNING_DISABLE_SELF_ASSIGN ;
222
222
optr = optr;
223
- WARNING_POP ;
223
+ SNATCH_WARNING_POP ;
224
224
225
225
CHECK (optr.get () == ptr.get ());
226
226
CHECK (optr.expired () == false );
@@ -236,10 +236,10 @@ TEMPLATE_LIST_TEST_CASE(
236
236
237
237
{
238
238
observer_ptr<TestType> optr;
239
- WARNING_PUSH ;
240
- WARNING_DISABLE_SELF_ASSIGN ;
239
+ SNATCH_WARNING_PUSH ;
240
+ SNATCH_WARNING_DISABLE_SELF_ASSIGN ;
241
241
optr = optr;
242
- WARNING_POP ;
242
+ SNATCH_WARNING_POP ;
243
243
244
244
CHECK (optr.get () == nullptr );
245
245
CHECK (optr.expired () == true );
Original file line number Diff line number Diff line change @@ -631,12 +631,12 @@ using owner_types = std::tuple<
631
631
632
632
// clang-format off
633
633
#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\" " )
635
635
#elif defined(__GNUC__)
636
- # define WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
636
+ # define SNATCH_WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
637
637
#elif defined(_MSC_VER)
638
- # define WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
638
+ # define SNATCH_WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
639
639
#else
640
- # define WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
640
+ # define SNATCH_WARNING_DISABLE_SELF_ASSIGN do {} while (0 )
641
641
#endif
642
642
// clang-format on
You can’t perform that action at this time.
0 commit comments