Skip to content
Snippets Groups Projects
Commit 77941784 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Warning: not workinggit add ../CMakeLists.txt ../src/adc_road.cpp Changed...

Warning: not workinggit add ../CMakeLists.txt ../src/adc_road.cpp  Changed emplace_back for push_back on add_geometry
parent 94ada2c6
No related branches found
No related tags found
No related merge requests found
# Pre-requisites about cmake itself
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
add_definitions(-std=c++17)
# add_definitions(-std=c++17)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0005 NEW)
......
......@@ -35,7 +35,8 @@ void CAdcRoad::clear_geometries(void)
void CAdcRoad::add_geometry(CAdcGeometry* geometry)
{
this->geometries.emplace_back(geometry);
this->geometries.push_back(geometry);
// this->geometries.emplace_back(geometry);
}
void CAdcRoad::clear_signals(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment