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

ServiceArea server: compare structs directly #34859

Closed
plauric opened this issue Aug 7, 2024 · 1 comment
Closed

ServiceArea server: compare structs directly #34859

plauric opened this issue Aug 7, 2024 · 1 comment
Assignees
Labels

Comments

@plauric
Copy link
Contributor

plauric commented Aug 7, 2024

          This is just comparing two optional structs, right? can you not just use the default comparison operator? 

ex
if (areaDesc.landmarkInfo != aOther.areaDesc.landmarkInfo) {
return false;
}

Originally posted by @cecille in #34738 (comment)

@hicklin
Copy link
Contributor

hicklin commented Aug 15, 2024

This is not possible as there auto-generated structures do not implement the != operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants