Skip to content

Commit

Permalink
[clang] fix clang warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvergara committed Apr 6, 2023
1 parent f597163 commit 986e9b6
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion include/cpp_common/basePath_SSEC.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class Path {
Path(int64_t s_id, int64_t e_id)
: m_start_id(s_id), m_end_id(e_id), m_tot_cost(0)
{}
Path(const Path&) = default;

int64_t start_id() const {return m_start_id;}
void start_id(int64_t value) {m_start_id = value;}
Expand Down
1 change: 0 additions & 1 deletion include/cpp_common/identifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ namespace pgrouting {
class Identifier {
public:
Identifier() = default;
Identifier(const Identifier &v) = default;
Identifier(const size_t _idx, const int64_t _id);

int64_t id() const;
Expand Down
1 change: 0 additions & 1 deletion include/cpp_common/identifiers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class Identifiers {
//! @name constructors
//@{
Identifiers<T>() = default;
Identifiers<T>(const Identifiers<T>&) = default;
Identifiers<T>(const std::set<T>& data) {
m_ids = data;
}
Expand Down
1 change: 0 additions & 1 deletion include/cpp_common/xy_vertex.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ namespace pgrouting {
class XY_vertex {
public:
XY_vertex() = default;
XY_vertex(const XY_vertex &) = default;
XY_vertex(const int64_t _id, double _x, double _y) :
id(_id), point(_x, _y) {
}
Expand Down
2 changes: 0 additions & 2 deletions include/vrp/order.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ class Order : public Identifier {
Order(size_t p_id, int64_t p_idx,
const Vehicle_node &p_pickup,
const Vehicle_node &p_deliver);

Order(const Order &) = default;
/*!@}*/


Expand Down
1 change: 0 additions & 1 deletion include/vrp/pd_orders.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class PD_Orders {
* @{
*/
PD_Orders() = default;
PD_Orders(const PD_Orders&) = default;
explicit PD_Orders(const std::vector<Orders_t>&);
/*!@}*/

Expand Down
1 change: 0 additions & 1 deletion include/vrp/tw_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ class Tw_node : public Dnode {


Tw_node() = default;
Tw_node(const Tw_node &) = default;
Tw_node(
size_t id,
Orders_t data,
Expand Down
1 change: 0 additions & 1 deletion include/vrp/vehicle.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ class Vehicle : public Identifier {
std::vector<Schedule_rt>
get_postgres_result(int vid) const;

Vehicle(const Vehicle &) = default;
Vehicle(
size_t idx,
int64_t id,
Expand Down
1 change: 0 additions & 1 deletion include/vrp/vehicle_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ class Vehicle_node: public Tw_node {

/*! \brief Construct from parameters */
Vehicle_node() = delete;
Vehicle_node(const Vehicle_node &) = default;
explicit Vehicle_node(const Tw_node &node);

private:
Expand Down
3 changes: 0 additions & 3 deletions include/vrp/vehicle_pickDeliver.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ class Vehicle_pickDeliver : public Vehicle {
double p_speed,
double factor);

Vehicle_pickDeliver(const Vehicle_pickDeliver &) = default;


void set_compatibles(const PD_Orders &orders);
bool is_order_feasable(const Order &order) const;
Identifiers<size_t> feasable_orders() const {return m_feasable_orders;}
Expand Down

0 comments on commit 986e9b6

Please sign in to comment.