fix: remove explicit from Variant ctor to avoid potential breaking client code
This commit is contained in:
1 parent
3717e63c64
commit
2a992ca84d
1 file changed
+1
-1
@@ -56,7 +56,7 @@ namespace sdbus {
|
||||
Variant();
|
||||
|
||||
template <typename _ValueType>
|
||||
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());
|
||||
|
||||
Reference in new issue
Block a user