From 01438d77a5cfd21ab9e11afba9be9386731e61f9 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 5 Oct 2026 14:19:45 +0200 Subject: kstd: tests: remove nonsensical constexpr qualification --- libs/kstd/kstd/test_support/test_types.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/kstd/kstd/test_support/test_types.hpp b/libs/kstd/kstd/test_support/test_types.hpp index 0d830077..ed3a8f7a 100644 --- a/libs/kstd/kstd/test_support/test_types.hpp +++ b/libs/kstd/kstd/test_support/test_types.hpp @@ -25,7 +25,7 @@ namespace kstd::tests auto static inline move_ctor_call_count = 0uz; auto static inline move_assignment_call_count = 0uz; - constexpr auto static reset() -> void + auto static reset() -> void { dtor_call_count = 0; copy_ctor_call_count = 0; @@ -36,23 +36,23 @@ namespace kstd::tests constexpr static_copy_move_tracker() = default; - constexpr static_copy_move_tracker(static_copy_move_tracker const &) + static_copy_move_tracker(static_copy_move_tracker const &) { ++copy_ctor_call_count; } - constexpr static_copy_move_tracker(static_copy_move_tracker &&) + static_copy_move_tracker(static_copy_move_tracker &&) { ++move_ctor_call_count; } - constexpr auto operator=(static_copy_move_tracker const &) -> static_copy_move_tracker & + auto operator=(static_copy_move_tracker const &) -> static_copy_move_tracker & { ++copy_assignment_call_count; return *this; } - constexpr auto operator=(static_copy_move_tracker &&) -> static_copy_move_tracker & + auto operator=(static_copy_move_tracker &&) -> static_copy_move_tracker & { ++move_assignment_call_count; return *this; -- cgit v1.2.3