Merge pull request #1457 from Ruffel/fix-clang-tidy-warning

Resolve erroneous clang-tidy warning about using a moved from pointer
This commit is contained in:
Gabi Melman 2020-02-29 13:16:49 +02:00 committed by GitHub
commit 6bfc0ec3a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,8 @@ SPDLOG_INLINE void logger::set_formatter(std::unique_ptr<formatter> f)
{
// last element - we can be move it.
(*it)->set_formatter(std::move(f));
break;
}
else
{