Update reverse.hpp

[skip ci]