diff --git a/toml/get.hpp b/toml/get.hpp index 5d196cd..9278cbf 100644 --- a/toml/get.hpp +++ b/toml/get.hpp @@ -923,21 +923,6 @@ expect(const basic_value& v, const toml::key& k) noexcept return err(e.what()); } } -template -detail::enable_if_t, detail::is_basic_value - >::value, result> -expect(const Table& t, const toml::key& k, - std::string tablename = "unknown table") noexcept -{ - try - { - return ok(find(t, k, std::move(tablename))); - } - catch(const std::exception& e) - { - return err(e.what()); - } -} + } // toml #endif// TOML11_GET