Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[common] Switch int to index_t for field index variables in pclBase, add pcl::UNAVAILABLE for same #4211

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

haritha-j
Copy link
Contributor

No description provided.

@haritha-j haritha-j added priority: gsoc Reason for prioritization module: common labels Jun 23, 2020
@kunaltyagi kunaltyagi changed the title [common] Switch pclBase to index_t [common] Switch int to index_t for field indec variables in pclBase, add pcl::UNAVAILABLE for same Jun 23, 2020
@kunaltyagi kunaltyagi added needs: code review Specify why not closed/merged yet changelog: enhancement Meta-information for changelog generation labels Jun 23, 2020
@kunaltyagi kunaltyagi added this to the pcl-1.11.1 milestone Jun 23, 2020
@@ -237,7 +240,7 @@ namespace pcl
std::vector<int> field_sizes_;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make another PR for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is explicitly used for sizes, and thus cannot be negative, do you suppose uindex_t would be better for this?

Copy link
Member

@kunaltyagi kunaltyagi Jun 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose so

PS: If this is wrong, then sergio or compilers will point it out to us 😆

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll go ask the compilers.

@SergioRAgostinho SergioRAgostinho merged commit 00da4c5 into PointCloudLibrary:master Jun 24, 2020
@SergioRAgostinho SergioRAgostinho removed the needs: code review Specify why not closed/merged yet label Jun 24, 2020
@kunaltyagi kunaltyagi changed the title [common] Switch int to index_t for field indec variables in pclBase, add pcl::UNAVAILABLE for same [common] Switch int to index_t for field index variables in pclBase, add pcl::UNAVAILABLE for same Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: enhancement Meta-information for changelog generation module: common priority: gsoc Reason for prioritization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants