No exception when trying to erase an object not in sheet

This commit is contained in:
Pcornat 2026-01-25 21:33:46 +01:00
commit 4f694d0bbe
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
3 changed files with 21 additions and 7 deletions

View file

@ -52,7 +52,7 @@ namespace character {
[[nodiscard]] bool insert_object(CharacterSheet &sheet, const billyEnums objType) noexcept;
void erase_object(CharacterSheet &sheet, const billyEnums objToErase) noexcept;
bool erase_object(CharacterSheet &sheet, const billyEnums objToErase) noexcept;
[[nodiscard]] const std::plus<std::uint32_t> &get_plus_operation() const { return plus; }