Skip to content

Commit

Permalink
fix const-ness in deepidexample
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hillman <[email protected]>
  • Loading branch information
peterhillman committed Dec 11, 2023
1 parent aed7f0d commit f7d329a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/deepidexample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct Rgbaz
//
// depth sort (use ID to resolve ties)
//
bool operator<(const Rgbaz& other)
bool operator<(const Rgbaz& other) const
{
if (z < other.z) { return true; }
if (z > other.z) { return false; }
Expand Down

0 comments on commit f7d329a

Please sign in to comment.