Fixed compiler error in C++98 mode.