remove register specifier, deprecated in C++11