forked from Kistler-Group/sdbus-cpp
fix: remove explicit from Variant ctor to avoid potential breaking client code
This commit is contained in:
@@ -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