comply with stricter cpplint rules

This commit is contained in:
Dirk Thomas 2016-10-01 08:15:49 -07:00
parent 4e74edf8d4
commit 29a1bd44dc
16 changed files with 21 additions and 0 deletions

View file

@ -21,6 +21,7 @@
#include <memory> #include <memory>
#include <stdexcept> #include <stdexcept>
#include <type_traits> #include <type_traits>
#include <utility>
#include "rclcpp/allocator/allocator_common.hpp" #include "rclcpp/allocator/allocator_common.hpp"
#include "rclcpp/function_traits.hpp" #include "rclcpp/function_traits.hpp"

View file

@ -21,6 +21,7 @@
#include <typeindex> #include <typeindex>
#include <typeinfo> #include <typeinfo>
#include <unordered_map> #include <unordered_map>
#include <utility>
#include "rclcpp/macros.hpp" #include "rclcpp/macros.hpp"
#include "rclcpp/visibility_control.hpp" #include "rclcpp/visibility_control.hpp"

View file

@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <memory>
#include <utility>
#ifndef RCLCPP__MACROS_HPP_ #ifndef RCLCPP__MACROS_HPP_
#define RCLCPP__MACROS_HPP_ #define RCLCPP__MACROS_HPP_

View file

@ -20,6 +20,7 @@
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <utility>
#include <vector> #include <vector>
#include "rclcpp/allocator/allocator_common.hpp" #include "rclcpp/allocator/allocator_common.hpp"

View file

@ -16,6 +16,7 @@
#define RCLCPP__PARAMETER_CLIENT_HPP_ #define RCLCPP__PARAMETER_CLIENT_HPP_
#include <string> #include <string>
#include <utility>
#include <vector> #include <vector>
#include "rcl_interfaces/msg/parameter.hpp" #include "rcl_interfaces/msg/parameter.hpp"

View file

@ -15,6 +15,8 @@
#ifndef RCLCPP__STRATEGIES__MESSAGE_POOL_MEMORY_STRATEGY_HPP_ #ifndef RCLCPP__STRATEGIES__MESSAGE_POOL_MEMORY_STRATEGY_HPP_
#define RCLCPP__STRATEGIES__MESSAGE_POOL_MEMORY_STRATEGY_HPP_ #define RCLCPP__STRATEGIES__MESSAGE_POOL_MEMORY_STRATEGY_HPP_
#include <memory>
#include "rclcpp/macros.hpp" #include "rclcpp/macros.hpp"
#include "rclcpp/message_memory_strategy.hpp" #include "rclcpp/message_memory_strategy.hpp"
#include "rclcpp/visibility_control.hpp" #include "rclcpp/visibility_control.hpp"

View file

@ -21,6 +21,7 @@
#include <sstream> #include <sstream>
#include <thread> #include <thread>
#include <type_traits> #include <type_traits>
#include <utility>
#include "rclcpp/function_traits.hpp" #include "rclcpp/function_traits.hpp"
#include "rclcpp/macros.hpp" #include "rclcpp/macros.hpp"

View file

@ -16,6 +16,7 @@
#include <chrono> #include <chrono>
#include <cstdio> #include <cstdio>
#include <memory>
#include <string> #include <string>
#include "rcl/graph.h" #include "rcl/graph.h"

View file

@ -13,6 +13,7 @@
// limitations under the License. // limitations under the License.
#include <algorithm> #include <algorithm>
#include <memory>
#include <string> #include <string>
#include <type_traits> #include <type_traits>

View file

@ -16,6 +16,7 @@
#include <cstdio> #include <cstdio>
#include <exception> #include <exception>
#include <memory>
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -14,6 +14,8 @@
#include "rclcpp/memory_strategies.hpp" #include "rclcpp/memory_strategies.hpp"
#include <memory>
#include "rclcpp/strategies/allocator_memory_strategy.hpp" #include "rclcpp/strategies/allocator_memory_strategy.hpp"
using rclcpp::memory_strategies::allocator_memory_strategy::AllocatorMemoryStrategy; using rclcpp::memory_strategies::allocator_memory_strategy::AllocatorMemoryStrategy;

View file

@ -15,6 +15,7 @@
#include <algorithm> #include <algorithm>
#include <limits> #include <limits>
#include <map> #include <map>
#include <memory>
#include <string> #include <string>
#include <utility> #include <utility>
#include <vector> #include <vector>

View file

@ -15,6 +15,7 @@
#include "rclcpp/parameter_client.hpp" #include "rclcpp/parameter_client.hpp"
#include <algorithm> #include <algorithm>
#include <memory>
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -15,6 +15,7 @@
#include "rclcpp/parameter_service.hpp" #include "rclcpp/parameter_service.hpp"
#include <algorithm> #include <algorithm>
#include <memory>
#include <vector> #include <vector>
using rclcpp::parameter_service::ParameterService; using rclcpp::parameter_service::ParameterService;

View file

@ -15,6 +15,7 @@
#include "rclcpp/subscription.hpp" #include "rclcpp/subscription.hpp"
#include <cstdio> #include <cstdio>
#include <memory>
#include <string> #include <string>
#include "rmw/error_handling.h" #include "rmw/error_handling.h"

View file

@ -17,6 +17,8 @@
#define RCLCPP_BUILDING_LIBRARY 1 // Prevent including unavailable symbols #define RCLCPP_BUILDING_LIBRARY 1 // Prevent including unavailable symbols
#include <rclcpp/mapped_ring_buffer.hpp> #include <rclcpp/mapped_ring_buffer.hpp>
#include <memory>
/* /*
Tests get_copy and pop on an empty mrb. Tests get_copy and pop on an empty mrb.
*/ */