Emu_window: Move virtual function definition to .cpp file (fix weak_vtable)

This commit is contained in:
Paul "Dettorer" Hervot 2015-11-29 08:02:48 +01:00 committed by Paul Dettorer Hervot
parent bbb96a392d
commit 9cefad91e3
2 changed files with 6 additions and 3 deletions

View file

@ -124,3 +124,8 @@ EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(u
return res;
}
void EmuWindow::OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) {
// By default, ignore this request and do nothing.
(void)minimal_size;
}

View file

@ -195,9 +195,7 @@ private:
* Handler called when the minimal client area was requested to be changed via SetConfig.
* For the request to be honored, EmuWindow implementations will usually reimplement this function.
*/
virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) {
// By default, ignore this request and do nothing.
}
virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size);
FramebufferLayout framebuffer_layout; ///< Current framebuffer layout