Remove use of deprecated C++ keyword "register"