diff options
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_(); |