Emu_window: Move virtual function definition to .cpp file (fix weak_vtable)
This commit is contained in:
parent
bbb96a392d
commit
9cefad91e3
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue