mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
committed by
GitHub
parent
fc3e60f17f
commit
64b50b419f
@@ -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)}
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -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) + ...);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user