[gtkmm] Gdk::Point: Fix copy assignment
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk::Point: Fix copy assignment
- Date: Wed, 26 Jul 2017 08:46:07 +0000 (UTC)
commit fd293e129a1bca9a71543ebe16d085fcddc8ec33
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Wed Jul 26 10:38:48 2017 +0200
Gdk::Point: Fix copy assignment
Change const Point&& to const Point&.
gdk/src/types.ccg | 2 +-
gdk/src/types.hg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/src/types.ccg b/gdk/src/types.ccg
index b04b433..79be79e 100644
--- a/gdk/src/types.ccg
+++ b/gdk/src/types.ccg
@@ -35,7 +35,7 @@ Point::Point(const Point& other) noexcept
{
}
-Point& Point::operator=(const Point&& other) noexcept
+Point& Point::operator=(const Point& other) noexcept
{
gobject_ = other.gobject_;
diff --git a/gdk/src/types.hg b/gdk/src/types.hg
index 74edcb3..de37840 100644
--- a/gdk/src/types.hg
+++ b/gdk/src/types.hg
@@ -72,7 +72,7 @@ public:
Point(int x, int y);
Point(const Point& other) noexcept;
- Point& operator=(const Point&& other) noexcept;
+ Point& operator=(const Point& other) noexcept;
Point(Point&& other) noexcept;
Point& operator=(Point&& other) noexcept;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]