style: clang-tidy auto fixes (#1793)

Fixes #1792.
This commit is contained in:
github-actions[bot]
2024-12-18 11:43:53 +00:00
committed by GitHub
parent fc3e60f17f
commit 64b50b419f
16 changed files with 42 additions and 49 deletions

View File

@@ -26,6 +26,7 @@
#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
namespace migration::impl {
@@ -51,9 +52,9 @@ public:
*/
explicit MigrationManagerBase(
std::shared_ptr<typename SupportedMigrators::BackendType> backend,
util::config::ObjectView const& config
util::config::ObjectView config
)
: migrators_{backend}, config_{config}
: migrators_{backend}, config_{std::move(config)}
{
}

View File

@@ -172,7 +172,7 @@ public:
return "No Description";
} else {
// Fold expression to search through all types
std::string result = ([](std::string const& name) {
std::string const result = ([](std::string const& name) {
return std::string(getDescriptionIfMatch<MigratorType>(name));
}(name) + ...);