Added noexcept to compare member function definition to match the declaration

This compiled on MSVC, which is why I didn't notice, but eventually failed after I tested it on GCC.