Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
JPScore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
92
Issues
92
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
JuPedSim
JPScore
Commits
80851780
Unverified
Commit
80851780
authored
Jul 17, 2019
by
Mohcine Chraibi
Committed by
GitHub
Jul 17, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #410 from Ozaq/fix_clang8_build
Fix clang 8 build
parents
6798f0e4
130fe748
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
geometry/Building.cpp
geometry/Building.cpp
+2
-5
No files found.
geometry/Building.cpp
View file @
80851780
...
...
@@ -1275,13 +1275,10 @@ bool Building::AddGoal(Goal* goal)
return
true
;
}
bool
Building
::
AddTrainType
(
std
::
shared_ptr
<
TrainType
>
TT
)
bool
Building
::
AddTrainType
(
std
::
shared_ptr
<
TrainType
>
TT
)
{
if
(
_trainTypes
.
count
(
TT
->
type
)
!=
0
)
{
Log
->
Write
(
"WARNING: Duplicate type for train found [%s]"
,
TT
->
type
);
Log
->
Write
(
"WARNING: Duplicate type for train found [%s]"
,
TT
->
type
.
c_str
()
);
}
_trainTypes
[
TT
->
type
]
=
TT
;
return
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment