summaryrefslogtreecommitdiff
path: root/domain/include/turns
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-15 22:26:12 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-15 22:26:12 +0200
commit3262b3a337759439f3049b9299be12baf8420750 (patch)
tree53d2e71a390662894bca3eb5c9345a59f08fc806 /domain/include/turns
parent7758fbc7522b39bad768abfa728b37c97007ffb6 (diff)
downloadturns-3262b3a337759439f3049b9299be12baf8420750.tar.xz
turns-3262b3a337759439f3049b9299be12baf8420750.zip
turns: add more tests
Diffstat (limited to 'domain/include/turns')
-rw-r--r--domain/include/turns/domain/turn_order.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/domain/include/turns/domain/turn_order.hpp b/domain/include/turns/domain/turn_order.hpp
index cb51af6..d231436 100644
--- a/domain/include/turns/domain/turn_order.hpp
+++ b/domain/include/turns/domain/turn_order.hpp
@@ -15,14 +15,16 @@ namespace turns::domain
using super = Gio::ListStore<participant>;
using super::super;
- using super::append;
using super::remove;
auto static create() -> Glib::RefPtr<turn_order>;
+ auto append(Glib::RefPtr<participant> item) -> void;
auto append(Glib::ustring const & name, float priority) -> void;
auto remove(Glib::RefPtr<participant> item) -> void;
- auto sort() -> void;
+
+ private:
+ using super::sort;
};
} // namespace turns::domain