Skip to content

Commit

Permalink
headers, set -std=c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-slip committed Feb 24, 2023
1 parent 3f55128 commit e267a54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**/matlab_rosbag-0.5.0-linux64/
**/*.bag
.vscode/
build/
2 changes: 1 addition & 1 deletion apriltag_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ IF(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
ENDIF()


add_compile_options("-O3" "-funsafe-loop-optimizations" "-fsee" "-funroll-loops" "-fno-math-errno" "-funsafe-math-optimizations" "-ffinite-math-only" "-fno-signed-zeros")
add_compile_options("-std=c++17" "-O3" "-funsafe-loop-optimizations" "-fsee" "-funroll-loops" "-fno-math-errno" "-funsafe-math-optimizations" "-ffinite-math-only" "-fno-signed-zeros")

# Note: These options have been turned off to allow for binary releases -
# in local builds, they can be reactivated to achieve higher performance.
Expand Down
3 changes: 3 additions & 0 deletions apriltag_ros/include/apriltag_ros/continuous_detector.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@
#include "apriltag_ros/common_functions.h"

#include <memory>
#include <mutex>

#include <nodelet/nodelet.h>
#include <ros/service_server.h>
#include <std_srvs/Empty.h>

namespace apriltag_ros
{
Expand Down

0 comments on commit e267a54

Please sign in to comment.