Not sure what you mean. The function takes a reference to a point. (references are an essential C++ concept)
sf::Vector2i mousePosition = sf::Mouse::getPosition(*this->window);
sf::Vector2f mouseCoords = this->window->mapPixelToCoords(mousePosition);
Then use the mouse coords to set the position of your player.