From 1628c8a48bda08b5f7693a8ba6fcbe3199c32b62 Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Fri, 9 Nov 2018 15:21:12 +0100 Subject: [PATCH] change interface for addcrossing to return bool --- src/geometry/Building.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/geometry/Building.h b/src/geometry/Building.h index 109d798..8ebb55a 100644 --- a/src/geometry/Building.h +++ b/src/geometry/Building.h @@ -24,7 +24,7 @@ * * **/ - + #ifndef _BUILDING_H #define _BUILDING_H @@ -170,7 +170,7 @@ public: const std::map<int, Hline*>& GetAllHlines() const; const std::map<int, Goal*>& GetAllGoals() const; - void AddCrossing(Crossing* line); + bool AddCrossing(Crossing* line); void AddTransition(Transition* line); void AddHline(Hline* line); void AddGoal(Goal* goal); -- GitLab