CrowCpp/Crow#585 : Resolves issue with blueprint assignments.

Adds static_dir_, templates_dir_, blueprints_, and mw_indices_ to the assignment.
This ensures that the Blueprint is assigned all the information.
This commit is contained in:
S. V. Paulauskas 2023-02-01 08:41:12 -05:00
parent a92aee49b9
commit 52a3caa09c

View File

@ -1122,8 +1122,12 @@ namespace crow
Blueprint& operator=(Blueprint&& value) noexcept
{
prefix_ = std::move(value.prefix_);
static_dir_ = std::move(value.static_dir_);
templates_dir_ = std::move(value.templates_dir_);
all_rules_ = std::move(value.all_rules_);
catchall_rule_ = std::move(value.catchall_rule_);
blueprints_ = std::move(value.blueprints_);
mw_indices_ = std::move(value.mw_indices_);
return *this;
}