Define it in the .h file instead of .cpp file.