No exception when trying to erase an object not in sheet
This commit is contained in:
parent
8a5b2dd927
commit
4f694d0bbe
3 changed files with 21 additions and 7 deletions
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue