Index: boost/optional/optional.hpp =================================================================== --- boost/optional/optional.hpp (revision 71419) +++ boost/optional/optional.hpp (working copy) @@ -890,12 +890,12 @@ template inline -bool operator == ( none_t x, optional const& y ) +bool operator == ( none_t, optional const& y ) { return equal_pointees(optional() ,y); } template inline -bool operator < ( none_t x, optional const& y ) +bool operator < ( none_t, optional const& y ) { return less_pointees(optional() ,y); } template