From 7efcb3cfe318bee276f35de388c996df9d35227f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 5 May 2019 11:41:29 +0200 Subject: [PATCH] astyle formatting [ci skip] --- lib/token.h | 3 +-- test/testautovariables.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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"