From 22830fd5e27f6842158cbc989793c933529276a6 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 26 Jun 2020 10:22:09 +0200 Subject: [PATCH] Tests: Fix deprecation warning Task-number: QTCREATORBUG-24098 Change-Id: Icea21e446173537d8fdb8113f1eff7d7176c34b3 Reviewed-by: hjk --- .../auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp b/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp index 04d9fc683d2..742591d72c5 100644 --- a/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp +++ b/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp @@ -189,7 +189,7 @@ void tst_TypePrettyPrinter::basic_data() QTest::addColumn("result"); // Define some often used flag combinations. - const Overview::StarBindFlags bindToNothing = 0; + const Overview::StarBindFlags bindToNothing({}); const Overview::StarBindFlags bindToBothSpecifiers = Overview::StarBindFlags(Overview::BindToLeftSpecifier | Overview::BindToRightSpecifier); const Overview::StarBindFlags bindToNameAndType