Skip to content

Commit

Permalink
Fix include order for cpplint (#84)
Browse files Browse the repository at this point in the history
* Fix include order for cpplint

Relates to ament/ament_lint#324

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Use double-quotes for other includes

This is backwards compatible with older versions of cpplint.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron authored Jan 12, 2022
1 parent f2351a5 commit 38f27a3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <gtest/gtest.h>

#include <rosidl_runtime_c/u16string_functions.h>
#include <osrf_testing_tools_cpp/scope_exit.hpp>
#include <string>

#include "gtest/gtest.h"

#include "rosidl_runtime_c/u16string_functions.h"
#include "osrf_testing_tools_cpp/scope_exit.hpp"

#include "rosidl_typesupport_fastrtps_c/wstring_conversion.hpp"

using rosidl_typesupport_fastrtps_c::u16string_to_wstring;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <gtest/gtest.h>

#include <rosidl_runtime_c/u16string_functions.h>
#include <osrf_testing_tools_cpp/memory_tools/memory_tools.hpp>
#include <osrf_testing_tools_cpp/scope_exit.hpp>
#include <string>

#include "gtest/gtest.h"

#include "rosidl_runtime_c/u16string_functions.h"
#include "osrf_testing_tools_cpp/memory_tools/memory_tools.hpp"
#include "osrf_testing_tools_cpp/scope_exit.hpp"

#include "rosidl_typesupport_fastrtps_c/wstring_conversion.hpp"

using rosidl_typesupport_fastrtps_c::wstring_to_u16string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <gtest/gtest.h>

#include <osrf_testing_tools_cpp/scope_exit.hpp>
#include <string>

#include "gtest/gtest.h"

#include "osrf_testing_tools_cpp/scope_exit.hpp"

#include "rosidl_typesupport_fastrtps_cpp/wstring_conversion.hpp"

using rosidl_typesupport_fastrtps_cpp::u16string_to_wstring;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <gtest/gtest.h>

#include <osrf_testing_tools_cpp/memory_tools/memory_tools.hpp>
#include <osrf_testing_tools_cpp/scope_exit.hpp>
#include <string>

#include "gtest/gtest.h"

#include "osrf_testing_tools_cpp/memory_tools/memory_tools.hpp"
#include "osrf_testing_tools_cpp/scope_exit.hpp"

#include "rosidl_typesupport_fastrtps_cpp/wstring_conversion.hpp"

using rosidl_typesupport_fastrtps_cpp::wstring_to_u16string;
Expand Down

0 comments on commit 38f27a3

Please sign in to comment.