diff --git a/src/examples/deepidexample.cpp b/src/examples/deepidexample.cpp index f0587d0306..02aed5bd4e 100644 --- a/src/examples/deepidexample.cpp +++ b/src/examples/deepidexample.cpp @@ -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; }