Fix clang-9 warnings

This commit is contained in:
sangelovic
2020-02-01 23:26:27 +01:00
parent db71707be4
commit 8dfd29b0f0
5 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ TEST(AVariant, CanBeConstructedFromAComplexValue)
using ComplexType = std::map<uint64_t, std::vector<sdbus::Struct<std::string, double>>>;
ComplexType value{ {ANY_UINT64, ComplexType::mapped_type{sdbus::make_struct("hello"s, ANY_DOUBLE), sdbus::make_struct("world"s, ANY_DOUBLE)}} };
ASSERT_NO_THROW(sdbus::Variant(value));
ASSERT_NO_THROW(sdbus::Variant{value});
}
TEST(AVariant, CanBeCopied)