Remove unnecessary file

This commit is contained in:
nsubiron 2019-03-29 17:26:57 +01:00
parent 84fafd38b2
commit 6aa79c8298
2 changed files with 8 additions and 21 deletions

View File

@ -1,11 +0,0 @@
// Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy; see <https://opensource.org/licenses/MIT>.
#include "SignalReference.h"
void carla::road::signal::SignalReference::AddValidity(general::Validity &&validity) {
_validities.push_back(std::move(validity));
}

View File

@ -25,15 +25,15 @@ namespace signal {
double s,
double t,
std::string orientation)
: _road_id(road_id),
_signal_id(id),
_s(s),
_t(t),
_orientation(orientation) {
_validities = std::vector<general::Validity>();
}
: _road_id(road_id),
_signal_id(id),
_s(s),
_t(t),
_orientation(orientation) {}
void AddValidity(general::Validity &&validity);
void AddValidity(general::Validity &&validity) {
_validities.push_back(std::move(validity));
}
private:
@ -52,8 +52,6 @@ namespace signal {
#endif
};
} // object
} // road
} // carla