Functions implemented in header files should be inline, otherwise they end up being defined in every .cpp that include the header, and the linker doesn't like duplicated definitions.
Note that this has absolutely nothing to do with SFML, it's basic C++ knownledge.