diff --git a/include/problem/pickDeliver.hpp b/include/problem/pickDeliver.hpp index 5140cd5b1..8072aa163 100644 --- a/include/problem/pickDeliver.hpp +++ b/include/problem/pickDeliver.hpp @@ -57,14 +57,14 @@ class PickDeliver { PickDeliver( Orders_t* p_orders, size_t p_orders_size, Vehicle_t* p_vehicles, size_t p_vehicles_size, - const Matrix &p_cost_matrix); + const Matrix &); /** @brief Override stops constructor */ PickDeliver( Orders_t* p_orders, size_t p_orders_size, Vehicle_t* p_vehicles, size_t p_vehicles_size, - std::vector new_stops, - const Matrix &p_cost_matrix); + std::vector, + const Matrix &); virtual ~PickDeliver() = default; diff --git a/include/problem/tw_node.hpp b/include/problem/tw_node.hpp index e495a1ba5..35ef880d0 100644 --- a/include/problem/tw_node.hpp +++ b/include/problem/tw_node.hpp @@ -34,6 +34,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include "cpp_common/identifier.hpp" #include "problem/node_types.hpp" +using Orders_t = struct Orders_t; +using Vehicle_t = struct Vehicle_t; namespace vrprouting { namespace problem { diff --git a/src/common/e_report.c b/src/common/e_report.c index ba33dcce0..f94f48893 100644 --- a/src/common/e_report.c +++ b/src/common/e_report.c @@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ~~~~{.c} * std::ostringstream log; * log << "the message"; - * *log_msg = to_pg_msg(log.str().c_str()); + * *log_msg = to_pg_msg(log.str()); * ~~~~ * * Then on the C side diff --git a/src/pgr_pickDeliver/pgr_pickDeliver_driver.cpp b/src/pgr_pickDeliver/pgr_pickDeliver_driver.cpp index 8dc4c4e6c..cefa32dc3 100644 --- a/src/pgr_pickDeliver/pgr_pickDeliver_driver.cpp +++ b/src/pgr_pickDeliver/pgr_pickDeliver_driver.cpp @@ -39,6 +39,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include "cpp_common/assert.hpp" #include "cpp_common/orders_t.hpp" +#include "cpp_common/vehicle_t.hpp" #include "initialsol/initials_code.hpp" #include "initialsol/simple.hpp" #include "optimizers/simple.hpp"