Skip to content

Commit a8cb261

Browse files
committed
Move num_threads_ to be the last data member.
1 parent d61969d commit a8cb261

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

common/include/pcl/pcl_base.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,6 @@ namespace pcl
238238
/** \brief If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud. */
239239
bool fake_indices_;
240240

241-
/**
242-
* @brief Number of threads used during filtering
243-
*/
244-
unsigned int num_threads_{0};
245241

246242
/** \brief The size of each individual field. */
247243
std::vector<uindex_t> field_sizes_;
@@ -252,6 +248,11 @@ namespace pcl
252248
/** \brief The desired x-y-z field names. */
253249
std::string x_field_name_, y_field_name_, z_field_name_;
254250

251+
/**
252+
* @brief Number of threads used during filtering
253+
*/
254+
unsigned int num_threads_{0};
255+
255256
bool initCompute ();
256257
bool deinitCompute ();
257258
public:

0 commit comments

Comments
 (0)