Skip to content

Commit

Permalink
fix: remove explicit from Variant ctor to avoid potential breaking cl…
Browse files Browse the repository at this point in the history
…ient code
  • Loading branch information
sangelovic committed Aug 20, 2023
1 parent 3717e63 commit 2a992ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sdbus-c++/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 2a992ca

Please sign in to comment.