# HG changeset patch # User Mathieu Lacage # Date 1278574689 -7200 # Node ID 3b5a61aafff55f0bfe8da637da9ef4cc33698dcf # Parent 54a7f1d4c4b845a55504e1648bd4ff7399b8d040 add missing explicit keyword to match -cairo version of the code diff -r 54a7f1d4c4b8 -r 3b5a61aafff5 src/simulator/high-precision-128.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; diff -r 54a7f1d4c4b8 -r 3b5a61aafff5 src/simulator/high-precision-double.h --- 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;