aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorrichiesams2013-06-24 14:46:58 -0500
committerrichiesams2013-08-04 13:31:47 -0500
commit7803c9fddf5fecd7d9adb6741f08e37fb92c0224 (patch)
tree7a9fc29959651dac281fb629156f2d9333c90ff2 /engines/zvision
parent8cc678e2eeda0df0b80fd19b03712a626b0b7bd2 (diff)
downloadscummvm-rg350-7803c9fddf5fecd7d9adb6741f08e37fb92c0224.tar.gz
scummvm-rg350-7803c9fddf5fecd7d9adb6741f08e37fb92c0224.tar.bz2
scummvm-rg350-7803c9fddf5fecd7d9adb6741f08e37fb92c0224.zip
ZVISION: Force 'Object' constructors to be explicit.
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/object.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/zvision/object.h b/engines/zvision/object.h
index 4df572c2b1..6e4b98a814 100644
--- a/engines/zvision/object.h
+++ b/engines/zvision/object.h
@@ -52,19 +52,19 @@ public:
};
// Constructors
- Object(ObjectType type);
- Object(bool value);
- Object(byte value);
- Object(int16 value);
- Object(uint16 value);
- Object(int32 value);
- Object(uint32 value);
- Object(float value);
- Object(double value);
- Object(Common::String value);
+ explicit Object(ObjectType type);
+ explicit Object(bool value);
+ explicit Object(byte value);
+ explicit Object(int16 value);
+ explicit Object(uint16 value);
+ explicit Object(int32 value);
+ explicit Object(uint32 value);
+ explicit Object(float value);
+ explicit Object(double value);
+ explicit Object(Common::String value);
// Copy constructor
- Object(const Object& other);
+ explicit Object(const Object& other);
// Destructor
~Object();