From 6aa79c8298b3c9d9d466ad48a5eac07332dce00d Mon Sep 17 00:00:00 2001 From: nsubiron Date: Fri, 29 Mar 2019 17:26:57 +0100 Subject: [PATCH] Remove unnecessary file --- .../carla/road/signal/SignalReference.cpp | 11 ----------- .../source/carla/road/signal/SignalReference.h | 18 ++++++++---------- 2 files changed, 8 insertions(+), 21 deletions(-) delete mode 100644 LibCarla/source/carla/road/signal/SignalReference.cpp diff --git a/LibCarla/source/carla/road/signal/SignalReference.cpp b/LibCarla/source/carla/road/signal/SignalReference.cpp deleted file mode 100644 index 98692a713..000000000 --- a/LibCarla/source/carla/road/signal/SignalReference.cpp +++ /dev/null @@ -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 . - -#include "SignalReference.h" - -void carla::road::signal::SignalReference::AddValidity(general::Validity &&validity) { - _validities.push_back(std::move(validity)); -} \ No newline at end of file diff --git a/LibCarla/source/carla/road/signal/SignalReference.h b/LibCarla/source/carla/road/signal/SignalReference.h index e21d6e409..0da2616c8 100644 --- a/LibCarla/source/carla/road/signal/SignalReference.h +++ b/LibCarla/source/carla/road/signal/SignalReference.h @@ -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(); - } + : _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