Make Clone functions const.

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
2021-04-11 16:01:18 +02:00
parent 84a14cff2b
commit 2b1a1792bf
11 changed files with 11 additions and 11 deletions

View File

@@ -68,7 +68,7 @@ namespace CreatureLib::Battling {
return {};
}
void CloneOnto(HistoryHolder& other) {
void CloneOnto(HistoryHolder& other) const {
if (other._top != nullptr) {
other._top->Clear();
}