Remove static keyword in method definition. Keep it just in your class definition.
static keyword placed in .cpp file means that a certain function has a static linkage, ie. it is accessible only from other functions in the same file.
Remove static keyword in method definition. Keep it just in your class definition.
static keyword placed in .cpp file means that a certain function has a static linkage, ie. it is accessible only from other functions in the same file.