From e286c969d999e5afce8c7b708ac746a79588394c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 9 Jan 2021 14:12:35 +0000 Subject: Work around possible false positive in clang-tidy --- site/test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'site') diff --git a/site/test.cpp b/site/test.cpp index bcff64b..eba1572 100644 --- a/site/test.cpp +++ b/site/test.cpp @@ -23,8 +23,9 @@ public: { BOOST_TEST_INFO(fn); if (fn == "good.txt") { - return {std::make_shared(1, 1, "file:///some/file/path"), - std::make_shared(1, 1, "file:///some/other/path")}; + auto a = std::make_shared(1, 1, "file:///some/file/path"), + b = std::make_shared(1, 1, "file:///some/other/path"); + return {std::move(a), std::move(b)}; } return {}; } -- cgit v1.2.3