Skip to content

Commit

Permalink
Simplify use of scope_guard
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Jul 17, 2024
1 parent 6761c68 commit 167a57b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
url = https://github.com/pybind/pybind11
branch = smart_holder
shallow = true
[submodule "scope_guard"]
path = core/scope_guard/scope_guard
[submodule "core/src/scope_guard"]
path = core/src/scope_guard
url = https://github.com/ricab/scope_guard
1 change: 0 additions & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ add_compile_options(-fvisibility-inlines-hidden)

set(PROJECT_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include/moveit/task_constructor)

add_subdirectory(scope_guard)
add_subdirectory(src)
add_subdirectory(python)
add_subdirectory(test)
Expand Down
16 changes: 0 additions & 16 deletions core/scope_guard/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion core/scope_guard/include/scope_guard/scope_guard.hpp

This file was deleted.

2 changes: 1 addition & 1 deletion core/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ add_library(${PROJECT_NAME}
solvers/pipeline_planner.cpp
solvers/multi_planner.cpp
)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} fmt::fmt scope_guard::scope_guard)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} fmt::fmt)
target_include_directories(${PROJECT_NAME}
PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
Expand Down

0 comments on commit 167a57b

Please sign in to comment.