From 2a992ca84df9febf3a4b8e695208010ae0e4c390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20Angelovi=C4=8D?= Date: Sun, 20 Aug 2023 11:17:10 +0200 Subject: [PATCH] fix: remove explicit from Variant ctor to avoid potential breaking client code --- include/sdbus-c++/Types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sdbus-c++/Types.h b/include/sdbus-c++/Types.h index 22fe8be2..6d25c287 100644 --- a/include/sdbus-c++/Types.h +++ b/include/sdbus-c++/Types.h @@ -56,7 +56,7 @@ namespace sdbus { Variant(); template - explicit Variant(const _ValueType& value) + /*explicit*/ Variant(const _ValueType& value) // TODO: Mark explicit in new major version so we don't break client code within v1 : Variant() { msg_.openVariant(signature_of<_ValueType>::str());