diff --git a/lib/token.h b/lib/token.h index 91a0e304d..a9a0b7b6e 100644 --- a/lib/token.h +++ b/lib/token.h @@ -982,8 +982,7 @@ public: bool addValue(const ValueFlow::Value &value); template - void removeValues(Predicate pred) - { + void removeValues(Predicate pred) { if (mImpl->mValues) mImpl->mValues->remove_if(pred); } diff --git a/test/testautovariables.cpp b/test/testautovariables.cpp index 5c19f6b8d..0f99a5472 100644 --- a/test/testautovariables.cpp +++ b/test/testautovariables.cpp @@ -2019,8 +2019,7 @@ private: ASSERT_EQUALS("", errout.str()); } - void danglingLifetimeImplicitConversion() - { + void danglingLifetimeImplicitConversion() { check("struct A { A(const char *a); };\n" "A f() {\n" " std::string ba(\"hello\");\n"