Skip to content

Commit

Permalink
fixup for changes in io
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed Apr 29, 2020
1 parent b506f8e commit da4d399
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 47 deletions.
47 changes: 1 addition & 46 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -19,51 +19,6 @@ ConstructorInitializerIndentWidth: 0
Language: Cpp
NamespaceIndentation: None
PointerAlignment: Left
Standard: c++14
Standard: C++11
TabWidth: 2
UseTab: Never
IncludeBlocks: Regroup
IncludeCategories:
# Main PCL includes of common module should be sorted at end of PCL includes
- Regex: '^<pcl/[^/]+>$'
Priority: 100
SortPriority: 101
# All other PCL includes, which are grouped into modules
- Regex: '^<pcl/.*/.*>$'
Priority: 100
SortPriority: 100
# Major 3rd-Party components of tests & modules
- Regex: '^<gtest/'
Priority: 200
- Regex: '^<boost/'
Priority: 210
- Regex: '^<(unsupported/)?Eigen/'
Priority: 220
- Regex: '^<flann/'
Priority: 230
# Major 3rd-Party components of apps
- Regex: '^<Q[^/]+>$'
Priority: 300
- Regex: '^<ui_[^/]+\.h>$'
Priority: 300
- Regex: '^<vtk[^/]+\.h>$'
Priority: 310
# Minor 3rd-Party components
- Regex: '^<librealsense2/'
Priority: 400
- Regex: '^<(ros|message_filters)/'
Priority: 410
- Regex: '^<opencv(2)?/'
Priority: 420
- Regex: '^<tide/'
Priority: 430
- Regex: '^<thrust/'
Priority: 440
- Regex: '^<(OpenGL|(GL(UT)?/))'
Priority: 450
# Matches all std includes. Match them before any unknown include, so we can order them behind.
- Regex: '^<[a-z]+>$'
Priority: 900
# Any unknown include
- Regex: '.*'
Priority: 500
2 changes: 1 addition & 1 deletion common/include/pcl/common/impl/io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ namespace detail {
template <typename PointTOut, typename PointTIn> pcl::PointCloud<PointTOut>
copyPrelude (const pcl::PointCloud<PointTIn>& cloud_in)
{
pcl::PointCloud<PointTOut> cloud_out,
pcl::PointCloud<PointTOut> cloud_out;
cloud_out.header = cloud_in.header;
cloud_out.sensor_orientation_ = cloud_in.sensor_orientation_;
cloud_out.sensor_origin_ = cloud_in.sensor_origin_;
Expand Down

0 comments on commit da4d399

Please sign in to comment.