remove unfair noexcept
This commit is contained in:
parent
df871d3c8e
commit
7625d338bc
@ -21,7 +21,7 @@ void SharedTable::set(StoredObject key, StoredObject value) noexcept {
|
|||||||
data_[std::move(key)] = std::move(value);
|
data_[std::move(key)] = std::move(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SharedTable::luaSet(sol::stack_object luaKey, sol::stack_object luaValue) noexcept {
|
void SharedTable::luaSet(sol::stack_object luaKey, sol::stack_object luaValue) {
|
||||||
if (!luaKey.valid())
|
if (!luaKey.valid())
|
||||||
throw sol::error("Invalid table index");
|
throw sol::error("Invalid table index");
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ public:
|
|||||||
size_t size() const noexcept;
|
size_t size() const noexcept;
|
||||||
|
|
||||||
public: // lua bindings
|
public: // lua bindings
|
||||||
void luaSet(sol::stack_object luaKey, sol::stack_object luaValue) noexcept;
|
void luaSet(sol::stack_object luaKey, sol::stack_object luaValue);
|
||||||
sol::object luaGet(sol::stack_object key, sol::this_state state) const noexcept;
|
sol::object luaGet(sol::stack_object key, sol::this_state state) const noexcept;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user