From 1d33a6885ee1d011cb7b4da8b96ddaef87f233cc Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Wed, 10 May 2023 06:57:06 -0500 Subject: [PATCH] GH-1062 Add variant_object to the exclude list of universal reference constructor of mutable_variant_object since there is an explicit constructor for it. --- libraries/libfc/include/fc/variant_object.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/libfc/include/fc/variant_object.hpp b/libraries/libfc/include/fc/variant_object.hpp index 12e5aeccd8..e687a5a50c 100644 --- a/libraries/libfc/include/fc/variant_object.hpp +++ b/libraries/libfc/include/fc/variant_object.hpp @@ -214,7 +214,8 @@ namespace fc template>::value && - !std::is_base_of>::value>> + !std::is_base_of>::value && + !std::is_base_of>::value>> explicit mutable_variant_object( T&& v ) :_key_value( new std::vector() ) {