diff --git a/CMakeLists.txt b/CMakeLists.txt index f96b004c..7fea2445 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3) project(lio_sam) set(CMAKE_BUILD_TYPE "Release") -set(CMAKE_CXX_FLAGS "-std=c++11") +set(CMAKE_CXX_FLAGS "-std=c++14") set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -g -pthread") find_package(catkin REQUIRED COMPONENTS diff --git a/include/utility.h b/include/utility.h index cc3c60fd..0178809a 100644 --- a/include/utility.h +++ b/include/utility.h @@ -15,8 +15,6 @@ #include #include -#include - #include #include #include @@ -35,6 +33,8 @@ #include #include #include + +#include #include #include