Remove inline keyword from C++ class functions.

According to the ISO C++ standard (7.1.2 section 2), functions defined in classes are implicitly inline functions.