Since the implicit this pointer is non-const, the compiler will first check for the presence of a non-const version of the function before a const version.
If you explicitly mark the non-const one private then the resolution will fail, and the compiler will not continue searching.