Look at the error and the documentation: GetDefaultView() now returns a const reference.
Views are now handled by value, not by reference. So you must copy the current view, move it, and set it back.
sf::View view = window->GetDefaultView();
view.Move(offset);
window->SetView(view);