diff --git a/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/conv_profiler.hpp b/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/conv_profiler.hpp index 66e17a30588fc..a9aa92c357b9b 100644 --- a/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/conv_profiler.hpp +++ b/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/conv_profiler.hpp @@ -65,7 +65,9 @@ class ConvProfiler : public tensorrt_common::Profiler */ explicit ConvProfiler( const std::vector & src_profilers = std::vector()) - : Profiler(src_profilers) {}; + : Profiler(src_profilers) + { + } /** * @brief Set per-layer profile information for model. diff --git a/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/profiler.hpp b/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/profiler.hpp index d82eab8c5f89b..c5683f0aa9125 100644 --- a/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/profiler.hpp +++ b/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/profiler.hpp @@ -51,7 +51,7 @@ class Profiler : public nvinfer1::IProfiler * * @param[in] src_profilers Source profilers to merge. */ - Profiler(const std::vector & src_profilers = std::vector()); + explicit Profiler(const std::vector & src_profilers = std::vector()); /** * @brief Report layer time. diff --git a/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/tensorrt_conv_calib.hpp b/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/tensorrt_conv_calib.hpp index 2b87bb08dc22a..44a944031086e 100644 --- a/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/tensorrt_conv_calib.hpp +++ b/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/tensorrt_conv_calib.hpp @@ -23,6 +23,7 @@ #include #include +#include #include namespace autoware diff --git a/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/utils.hpp b/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/utils.hpp index 6701e81e5ef16..be640f52147d9 100644 --- a/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/utils.hpp +++ b/perception/autoware_tensorrt_common/include/autoware/tensorrt_common/utils.hpp @@ -32,6 +32,7 @@ namespace fs = ::std::experimental::filesystem; #include #include #include +#include namespace autoware { diff --git a/perception/autoware_tensorrt_common/src/profiler.cpp b/perception/autoware_tensorrt_common/src/profiler.cpp index bf630abb5d83f..4720ad1015769 100644 --- a/perception/autoware_tensorrt_common/src/profiler.cpp +++ b/perception/autoware_tensorrt_common/src/profiler.cpp @@ -14,7 +14,10 @@ #include +#include #include +#include +#include namespace autoware {