Skip to content

Commit e417828

Browse files
committed
Easy ones
1 parent e4f25c7 commit e417828

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

nav2_behavior_tree/test/plugins/condition/test_initial_pose_received.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class InitialPoseReceivedConditionTestFixture : public nav2_behavior_tree::Behav
2626
public:
2727
void SetUp()
2828
{
29-
config_->input_ports["initial_pose_received"] = 0;
29+
config_->input_ports["initial_pose_received"] = false;
3030
bt_node_ = std::make_shared<nav2_behavior_tree::InitialPoseReceived>("TestNode", *config_);
3131
}
3232

nav2_common/cmake/nav2_package.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ macro(nav2_package)
3737
endif()
3838

3939
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
40-
add_compile_options(-Wall -Wextra -Wpedantic -Wdeprecated -fPIC -Wshadow -Wnull-dereference)
40+
add_compile_options(-Wall -Wextra -Wpedantic -Werror -Wdeprecated -fPIC -Wshadow -Wnull-dereference)
4141
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:-Wnon-virtual-dtor>")
4242
endif()
4343

nav2_map_server/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,6 @@ install(DIRECTORY include/
147147

148148
install(DIRECTORY launch DESTINATION share/${PROJECT_NAME})
149149

150-
if(BUILD_TESTING)
151-
find_package(ament_lint_auto REQUIRED)
152-
# the following line skips the linter which checks for copyrights
153-
set(ament_cmake_copyright_FOUND TRUE)
154-
ament_lint_auto_find_test_dependencies()
155-
156-
find_package(ament_cmake_gtest REQUIRED)
157-
add_subdirectory(test)
158-
endif()
159150

160151
ament_export_include_directories(include)
161152
ament_export_libraries(

nav2_rviz_plugins/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if(NOT CMAKE_CXX_STANDARD)
77
endif()
88

99
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
10-
add_compile_options(-Wall -Wextra -Wpedantic)
10+
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
1111
endif()
1212

1313
# Qt5 boilerplate options from http://doc.qt.io/qt-5/cmake-manual.html

0 commit comments

Comments
 (0)