From f7bf341452f01d695585fae817bfa81c42648349 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sun, 19 Jan 2020 21:06:10 +0900 Subject: [PATCH] fix: add missing noexcept specifier --- toml/value.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() &