diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-15 19:27:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-15 19:27:53 +0100 |
commit | 785293f4bf1beec65d23be0612e545e4c26ec366 (patch) | |
tree | f250c34d82977116498b8049c8055fc3981478ab /editor/tests.hpp | |
parent | a5acc700d6a3a9b050864cf78a0f9f2305babdff (diff) |
b
Diffstat (limited to 'editor/tests.hpp')
-rw-r--r-- | editor/tests.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/tests.hpp b/editor/tests.hpp index 06762127..b4ee5289 100644 --- a/editor/tests.hpp +++ b/editor/tests.hpp @@ -3,6 +3,8 @@ namespace floormat { +template<typename T> class safe_ptr; + struct tests_data; struct tests_data_ @@ -10,7 +12,7 @@ struct tests_data_ fm_DECLARE_DELETED_COPY_ASSIGNMENT(tests_data_); virtual ~tests_data_() noexcept; - static Pointer<tests_data_> make(); + [[nodiscard]] static safe_ptr<tests_data_> make(); protected: tests_data_(); |