Skip to content

Commit 2fd6558

Browse files
thyssentishmanmvieth
authored andcommitted
Rename variables with reserved names
From the GNU libc manual[0]: In addition to the names documented in this manual, reserved names include all external identifiers (global functions and variables) that begin with an underscore (‘_’) and all identifiers regardless of use that begin with either two underscores or an underscore followed by a capital letter are reserved names. This is so that the library and header files can define functions, variables, and macros for internal purposes without risk of conflict with names in user programs. [0] https://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
1 parent 3e699e0 commit 2fd6558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/include/pcl/impl/point_types.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,8 @@ namespace pcl
691691
inline constexpr PointXYZLAB() : PointXYZLAB{0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f} {}
692692

693693
inline constexpr PointXYZLAB (float _x, float _y, float _z,
694-
float _L, float _a, float _b) :
695-
_PointXYZLAB{ {{_x, _y, _z, 1.0f}}, {{_L, _a, _b}} } {}
694+
float _l, float _a, float _b) :
695+
_PointXYZLAB{ {{_x, _y, _z, 1.0f}}, {{_l, _a, _b}} } {}
696696

697697
friend std::ostream& operator << (std::ostream& os, const PointXYZLAB& p);
698698
PCL_MAKE_ALIGNED_OPERATOR_NEW

0 commit comments

Comments
 (0)