diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-06-26 10:22:09 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-06-26 10:31:18 +0000 |
commit | 22830fd5e27f6842158cbc989793c933529276a6 (patch) | |
tree | f9c54f583ec393c21c415f728867f455cdcbdd48 /tests | |
parent | c51bbc3ea7c9e582b3a04bfd990f50ca33cf371e (diff) |
Tests: Fix deprecation warning
Task-number: QTCREATORBUG-24098
Change-Id: Icea21e446173537d8fdb8113f1eff7d7176c34b3
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp b/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp index 04d9fc683d..742591d72c 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<QString>("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 |