I am trying to write sf::mouse::getPosition(const Window &Relative To) in a function but I can't write the correct argument in it. Why is that?

Here is my Game.cpp File:

 void Game::HandleInput() {
 ...
	 m_angle = atan2(m_mouse.getPosition(m_window).y - m_ship.getPosition().y, m_mouse.getPosition().x - m_ship.getPosition().x); // Error
	 m_angle *= 180 / m_PI;
 ...

m_window is a member of Game.h

 no instance of overloaded function "sf::Mouse::getPosition" matches the argument list	

Game.h:

 #include "Window.h"
 class Game {
 public:
 ...	 
	 void HandleInput();
	 void Update();
	 void Render();
	 Window* GetWindow();
 private:
	 sf::Sprite m_ship;
	 sf::Texture m_shipText;
	 sf::Mouse m_mouse;
	 Window m_window;
 ...
 }