From 83f37a18b1005193631049a99baefdb491325d63 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Fri, 28 Jun 2024 00:48:06 +0900 Subject: [PATCH] fix: incorrect function argument --- include/toml11/try_get.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/toml11/try_get.hpp b/include/toml11/try_get.hpp index 09e5a37..eff136b 100644 --- a/include/toml11/try_get.hpp +++ b/include/toml11/try_get.hpp @@ -219,7 +219,7 @@ try_get(const basic_value& v) noexcept const auto loc = v.location(); return err(make_error_info("toml::try_get(): bad_cast to " "std::chrono::system_clock::time_point", loc, - "the actual type is " + to_string(v.type())), loc); + "the actual type is " + to_string(v.type()))); } } }