diff --git a/toml/value.hpp b/toml/value.hpp index 5defd95..63df1fc 100644 --- a/toml/value.hpp +++ b/toml/value.hpp @@ -1248,7 +1248,7 @@ class basic_value bool is_array() const noexcept {return this->is(value_t::array );} bool is_table() const noexcept {return this->is(value_t::table );} - value_t type() const {return type_;} + value_t type() const noexcept {return type_;} template typename detail::enum_to_type::type& cast() &