summaryrefslogtreecommitdiffhomepage
path: root/editor/tests
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-28 22:51:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-28 22:51:40 +0100
commita230d1a6ee8337a79996fe19a2f2033a23e0e0ac (patch)
treeb683f94c49299c6e87b19939f743d22d4b8ac007 /editor/tests
parenta647f56b3a07da357b2ef5fd95b09df6dfb72a31 (diff)
editor/tests: sprinkle some `final`
Diffstat (limited to 'editor/tests')
-rw-r--r--editor/tests/path-test.cpp2
-rw-r--r--editor/tests/raycast-test.cpp2
-rw-r--r--editor/tests/region-test.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/editor/tests/path-test.cpp b/editor/tests/path-test.cpp
index 6bb89bef..c94fdc36 100644
--- a/editor/tests/path-test.cpp
+++ b/editor/tests/path-test.cpp
@@ -15,7 +15,7 @@ namespace floormat::tests {
using namespace floormat::imgui;
-struct path_test : base_test
+struct path_test final : base_test
{
bool handle_key(app& a, const key_event& e, bool is_down) override;
bool handle_mouse_click(app& a, const mouse_button_event& e, bool is_down) override;
diff --git a/editor/tests/raycast-test.cpp b/editor/tests/raycast-test.cpp
index a1f9aa94..1b06c0f3 100644
--- a/editor/tests/raycast-test.cpp
+++ b/editor/tests/raycast-test.cpp
@@ -51,7 +51,7 @@ void do_column(StringView name)
ImGui::TableNextColumn();
}
-struct raycast_test : base_test
+struct raycast_test final : base_test
{
raycast_result_s result;
pending_s pending;
diff --git a/editor/tests/region-test.cpp b/editor/tests/region-test.cpp
index c3770e64..e17cd130 100644
--- a/editor/tests/region-test.cpp
+++ b/editor/tests/region-test.cpp
@@ -41,7 +41,7 @@ void do_column(StringView name)
ImGui::TableNextColumn();
}
-struct region_test : base_test
+struct region_test final : base_test
{
result_s result;
pending_s pending;