From 04026841799e1c40175cbaeb999651ebc5f9ffe9 Mon Sep 17 00:00:00 2001 From: computezrmle <57127745+computezrmle@users.noreply.github.com> Date: Tue, 18 Mar 2025 10:47:16 +0100 Subject: [PATCH] Fix compiler warning --- include/toml/toml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/toml/toml.h b/include/toml/toml.h index 6b0c6e0..5a18e58 100644 --- a/include/toml/toml.h +++ b/include/toml/toml.h @@ -387,7 +387,7 @@ inline ParseResult parse(std::istream& is) if (v.valid()) return ParseResult(std::move(v), std::string()); - return ParseResult(std::move(v), std::move(parser.errorReason())); + return ParseResult(std::move(v), parser.errorReason()); } inline ParseResult parseFile(const std::string& filename)