From c9e6cec9f909db85df80688c7a5b2a0c97e56c3f Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Wed, 2 Jan 2019 11:56:56 +0100 Subject: run clang tidy modernize pass --- testfiles/src/attributes-test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testfiles/src/attributes-test.cpp') diff --git a/testfiles/src/attributes-test.cpp b/testfiles/src/attributes-test.cpp index ae933611d..ce397b9bb 100644 --- a/testfiles/src/attributes-test.cpp +++ b/testfiles/src/attributes-test.cpp @@ -12,6 +12,7 @@ */ #include +#include #include #include "gtest/gtest.h" @@ -25,8 +26,8 @@ static const unsigned int FIRST_VALID_ID = 1; class AttributeInfo { public: - AttributeInfo(std::string const &attr, bool supported) : - attr(attr), + AttributeInfo(std::string attr, bool supported) : + attr(std::move(attr)), supported(supported) { } -- cgit v1.2.3