add missing explicit keyword to match -cairo version of the code
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 08 Jul 2010 09:38:09 +0200
changeset 6503 3b5a61aafff5
parent 6502 54a7f1d4c4b8
child 6504 73e22e5e5fc5
add missing explicit keyword to match -cairo version of the code
src/simulator/high-precision-128.h
src/simulator/high-precision-double.h
--- a/src/simulator/high-precision-128.h	Thu Jul 08 09:33:06 2010 +0200
+++ b/src/simulator/high-precision-128.h	Thu Jul 08 09:38:09 2010 +0200
@@ -35,8 +35,8 @@
 {
 public:
   inline HighPrecision ();
-  inline HighPrecision (int64_t value, bool dummy);
-  inline HighPrecision (double value);
+  explicit inline HighPrecision (int64_t value, bool dummy);
+  explicit inline HighPrecision (double value);
 
   inline int64_t GetInteger (void) const;
   inline double GetDouble (void) const;
--- a/src/simulator/high-precision-double.h	Thu Jul 08 09:33:06 2010 +0200
+++ b/src/simulator/high-precision-double.h	Thu Jul 08 09:38:09 2010 +0200
@@ -35,8 +35,8 @@
 {
 public:
   inline HighPrecision ();
-  inline HighPrecision (int64_t value, bool dummy);
-  inline HighPrecision (double value);
+  explicit inline HighPrecision (int64_t value, bool dummy);
+  explicit inline HighPrecision (double value);
 
   inline int64_t GetInteger (void) const;
   inline double GetDouble (void) const;