Skip to content

Commit c377ba6

Browse files
Construction of struct 2
1 parent 96cfeef commit c377ba6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

YUViewUnitTest/statistics/StatisticsTypeBuilderTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ TEST(StatisticsTypeBuilderTest, SetVectorDataDefaultValues)
112112

113113
TEST(StatisticsTypeBuilderTest, SetVectorDataCustomValues)
114114
{
115-
const LineDrawStyle lineDrawStyle(Color(255, 0, 0), 2, Pattern::DashDot);
115+
const LineDrawStyle lineDrawStyle({Color(255, 0, 0), 2, Pattern::DashDot});
116116

117117
const auto statisticsType = StatisticsTypeBuilder()
118118
.withVectorDataOptions({
@@ -147,7 +147,7 @@ TEST(StatisticsTypeBuilderTest, SetGridOptionsDefaultValues)
147147

148148
TEST(StatisticsTypeBuilderTest, SetGridOptionsCustomValues)
149149
{
150-
const LineDrawStyle lineDrawStyle(Color(123, 44, 99), 5, Pattern::DashDot);
150+
const LineDrawStyle lineDrawStyle({Color(123, 44, 99), 5, Pattern::DashDot});
151151

152152
const auto statisticsType =
153153
StatisticsTypeBuilder()

0 commit comments

Comments
 (0)