Skip to content

Commit e46a44b

Browse files
committedJan 28, 2021
Clang build fix.
1 parent aa4ecc2 commit e46a44b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Sources/NodeEngineTest/NodeEditorVisualTestParameterSettings.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -356,15 +356,15 @@ class SvgParameterDialog : public ParameterDialogBase
356356
{
357357
context.DrawRect (CreateRect (rect), DialogDefaultPen);
358358
context.DrawFormattedText (CreateRect (rect), DialogDefaultFont, controlText, HorizontalAnchor::Left, VerticalAnchor::Center, DialogDefaultColor);
359-
controls.push_back ({ controlText, 0 });
359+
controls.push_back (std::tuple<std::wstring, int> (controlText, 0));
360360
}
361361

362362
virtual void AddParamComboBox (size_t, int selectedChoice, const std::vector<std::wstring>& choices, const IntRect& rect) override
363363
{
364364
std::wstring controlText = choices[selectedChoice];
365365
context.DrawRect (CreateRect (rect), DialogDefaultPen);
366366
context.DrawFormattedText (CreateRect (rect), DialogDefaultFont, controlText, HorizontalAnchor::Left, VerticalAnchor::Center, DialogDefaultColor);
367-
controls.push_back ({ L"", selectedChoice });
367+
controls.push_back (std::tuple<std::wstring, int> (L"", selectedChoice));
368368
}
369369

370370
virtual void AddHorizontalSeparator (int x, int y, int width) override

0 commit comments

Comments
 (0)
Please sign in to comment.