Fixed non-inline definition in header which caused multiple definition w...

...hen linking.