summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInkyun Kil <inkyun.kil@samsung.com>2023-07-17 14:29:36 +0900
committerInkyun Kil <inkyun.kil@samsung.com>2023-07-17 14:29:36 +0900
commitaa0aa23b4d5f975182d2ccd9ad959ffe2fa3174e (patch)
tree15f7afbda6fdd6b43dde343b170d1f2a49a10b34
parent4fc74a1f400cd8ade60e58a45cd7c6bb6be87781 (diff)
downloadscreen-connector-aa0aa23b4d5f975182d2ccd9ad959ffe2fa3174e.tar.gz
screen-connector-aa0aa23b4d5f975182d2ccd9ad959ffe2fa3174e.tar.bz2
screen-connector-aa0aa23b4d5f975182d2ccd9ad959ffe2fa3174e.zip
Fix build error for 'overloaded-virtual='
- Bind(std::shared_ptr<WlSurface> surface) method was hidden by Bind(const EvasObject& win) Change-Id: I7edc271dca73e82fd20dc1f293a9041acd0c9439 Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
-rw-r--r--screen_connector_remote_surface_evas_mock/remote_surface_evas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/screen_connector_remote_surface_evas_mock/remote_surface_evas.h b/screen_connector_remote_surface_evas_mock/remote_surface_evas.h
index 47acf3c..77d488b 100644
--- a/screen_connector_remote_surface_evas_mock/remote_surface_evas.h
+++ b/screen_connector_remote_surface_evas_mock/remote_surface_evas.h
@@ -44,6 +44,7 @@ class RemoteSurfaceEvas : public RemoteSurface, public IEvasEvent {
std::shared_ptr<EvasObject> viewerWin, bool mock = false)
: RemoteSurface(rid, id, type, nullptr, mock) {}
+ using RemoteSurface::Bind;
virtual void Bind(const EvasObject& win) {}
virtual bool IsVisibleArea() const { return false; }
virtual void SendMouseUp() {}