Make Clone functions const.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -68,7 +68,7 @@ namespace CreatureLib::Battling {
|
||||
return {};
|
||||
}
|
||||
|
||||
void CloneOnto(HistoryHolder& other) {
|
||||
void CloneOnto(HistoryHolder& other) const {
|
||||
if (other._top != nullptr) {
|
||||
other._top->Clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user