From 1fb5ccfb28437d8873ffe4038b3c95ccd13a9a9c Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Wed, 6 Jan 2021 20:49:19 +0000 Subject: [PATCH] Remove type_support_dispatch.cpp files. They don't actually add any code, since they only #include a header file with a templated function in them. Signed-off-by: Chris Lalancette --- rosidl_typesupport_c/CMakeLists.txt | 3 +-- .../src/type_support_dispatch.cpp | 15 --------------- rosidl_typesupport_cpp/CMakeLists.txt | 3 +-- .../src/type_support_dispatch.cpp | 15 --------------- 4 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 rosidl_typesupport_c/src/type_support_dispatch.cpp delete mode 100644 rosidl_typesupport_cpp/src/type_support_dispatch.cpp diff --git a/rosidl_typesupport_c/CMakeLists.txt b/rosidl_typesupport_c/CMakeLists.txt index 895ac1f0..b7cdc0ac 100644 --- a/rosidl_typesupport_c/CMakeLists.txt +++ b/rosidl_typesupport_c/CMakeLists.txt @@ -31,8 +31,7 @@ ament_python_install_package(${PROJECT_NAME}) add_library(${PROJECT_NAME} src/identifier.c src/message_type_support_dispatch.cpp - src/service_type_support_dispatch.cpp - src/type_support_dispatch.cpp) + src/service_type_support_dispatch.cpp) if(WIN32) target_compile_definitions(${PROJECT_NAME} PRIVATE "ROSIDL_TYPESUPPORT_C_BUILDING_DLL") diff --git a/rosidl_typesupport_c/src/type_support_dispatch.cpp b/rosidl_typesupport_c/src/type_support_dispatch.cpp deleted file mode 100644 index b58f0236..00000000 --- a/rosidl_typesupport_c/src/type_support_dispatch.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2016 Open Source Robotics Foundation, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "type_support_dispatch.hpp" diff --git a/rosidl_typesupport_cpp/CMakeLists.txt b/rosidl_typesupport_cpp/CMakeLists.txt index 09c07f2a..f4c11efd 100644 --- a/rosidl_typesupport_cpp/CMakeLists.txt +++ b/rosidl_typesupport_cpp/CMakeLists.txt @@ -29,8 +29,7 @@ ament_python_install_package(${PROJECT_NAME}) add_library(${PROJECT_NAME} src/identifier.cpp src/message_type_support_dispatch.cpp - src/service_type_support_dispatch.cpp - src/type_support_dispatch.cpp) + src/service_type_support_dispatch.cpp) if(WIN32) target_compile_definitions(${PROJECT_NAME} PRIVATE "ROSIDL_TYPESUPPORT_CPP_BUILDING_DLL") diff --git a/rosidl_typesupport_cpp/src/type_support_dispatch.cpp b/rosidl_typesupport_cpp/src/type_support_dispatch.cpp deleted file mode 100644 index b58f0236..00000000 --- a/rosidl_typesupport_cpp/src/type_support_dispatch.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2016 Open Source Robotics Foundation, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "type_support_dispatch.hpp"