[cluttermm] ActorBox: Make the constructor explicit.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] ActorBox: Make the constructor explicit.
- Date: Fri, 21 Mar 2014 09:39:24 +0000 (UTC)
commit 68361564e3020be5c4fe1602ecd59973bfb9ecf0
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Mar 21 10:34:22 2014 +0100
ActorBox: Make the constructor explicit.
clutter/src/actor.hg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/src/actor.hg b/clutter/src/actor.hg
index 1f7c739..aaff73d 100644
--- a/clutter/src/actor.hg
+++ b/clutter/src/actor.hg
@@ -44,7 +44,7 @@ public:
_CUSTOM_DEFAULT_CTOR
//hand-coded constructor to allow default values:
- ActorBox(float x1 = 0, float y1 = 0, float x2 = 0, float y2 = 0);
+ explicit ActorBox(float x1 = 0, float y1 = 0, float x2 = 0, float y2 = 0);
// Convenience constructor that would be difficult to wrap - it's got 4
// floats (origin x and y and the width and height) so will conflict with the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]