mirror of
https://github.com/Kistler-Group/sdbus-cpp.git
synced 2025-08-04 20:34:27 +02:00
fix: remove explicit from Variant ctor to avoid potential breaking client code
This commit is contained in:
@@ -56,7 +56,7 @@ namespace sdbus {
|
|||||||
Variant();
|
Variant();
|
||||||
|
|
||||||
template <typename _ValueType>
|
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()
|
: Variant()
|
||||||
{
|
{
|
||||||
msg_.openVariant(signature_of<_ValueType>::str());
|
msg_.openVariant(signature_of<_ValueType>::str());
|
||||||
|
Reference in New Issue
Block a user