Skip to content

Commit

Permalink
Fix initialization order.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoupey committed Oct 20, 2023
1 parent 39883fe commit 69bcb81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/vroom/input/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ All rights reserved (see LICENSE).
namespace vroom {

Input::Input(io::Servers servers, ROUTER router, bool apply_TSPFix)
: _servers(std::move(servers)), _router(router), _apply_TSPFix(apply_TSPFix) {
: _apply_TSPFix(apply_TSPFix), _servers(std::move(servers)), _router(router) {
}

void Input::set_amount_size(unsigned amount_size) {
Expand Down

0 comments on commit 69bcb81

Please sign in to comment.