From d2097b5112272907a4350c5aec941c75e871fde3 Mon Sep 17 00:00:00 2001 From: Sun Podder Date: Tue, 28 Jan 2025 00:42:41 +0600 Subject: [PATCH] Rustify: remove conflicting find_or_default implementation --- src/Rustify/Result.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Rustify/Result.hpp b/src/Rustify/Result.hpp index 6b847d860..279ea9930 100644 --- a/src/Rustify/Result.hpp +++ b/src/Rustify/Result.hpp @@ -74,14 +74,6 @@ try_find(const toml::value& v, const U&... u) noexcept { } } -template -inline auto -find_or_default( - const toml::value& v, const K&... keys -) noexcept(std::is_nothrow_default_constructible_v) { - return toml::find_or(v, keys..., T{}); -} - } // namespace toml #endif