Skip to content

Commit 6802d45

Browse files
committed
Switch to snatch::type_list
1 parent 649ce7e commit 6802d45

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ include(FetchContent)
3333

3434
FetchContent_Declare(snatch
3535
GIT_REPOSITORY https://github.com/cschreib/snatch.git
36-
GIT_TAG v0.1.3)
36+
GIT_TAG c223246e1df6643745f00a89d6de22882fe70e58)
3737
FetchContent_MakeAvailable(snatch)
3838

3939
set(RUNTIME_TEST_FILES

tests/tests_common.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "oup/observable_unique_ptr.hpp"
2+
#include "testing.hpp"
23

34
#include <exception>
45

@@ -576,7 +577,7 @@ auto make_const_observer_from_this(const get_object<T>* ptr) {
576577
}
577578

578579
// clang-format off
579-
using owner_types = std::tuple<
580+
using owner_types = snatch::type_list<
580581
oup::observable_unique_ptr<test_object>,
581582
oup::observable_sealed_ptr<test_object>,
582583
oup::observable_unique_ptr<const test_object>,

0 commit comments

Comments
 (0)