remove unfair noexcept

This commit is contained in:
mihacooper 2017-01-23 15:59:07 +03:00
parent df871d3c8e
commit 7625d338bc
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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: