diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-10-05 14:19:45 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-10-05 14:19:45 +0200 |
| commit | 01438d77a5cfd21ab9e11afba9be9386731e61f9 (patch) | |
| tree | 436679d53597aa280d825053231296dbef669a92 | |
| parent | 3bc20030f591acb0e23311964bcd576614caf268 (diff) | |
| download | kernel-01438d77a5cfd21ab9e11afba9be9386731e61f9.tar.xz kernel-01438d77a5cfd21ab9e11afba9be9386731e61f9.zip | |
kstd: tests: remove nonsensical constexpr qualification
| -rw-r--r-- | libs/kstd/kstd/test_support/test_types.hpp | 10 |
1 files 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; |
