diff --git a/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp b/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp index 7b9fff7f0ee..0edbb60aa9e 100644 --- a/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp +++ b/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp @@ -122,7 +122,7 @@ public: Overview overview; overview.showReturnTypes = true; overview.showArgumentNames = true; - overview.starBindFlags = Overview::StarBindFlags(nullptr); + overview.starBindFlags = Overview::StarBindFlags(); // Run the formatter PointerDeclarationFormatter formatter(cppRefactoringFile, overview, cursorHandling);