You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by ha...@apache.org on 2016/06/20 18:58:55 UTC

incubator-quickstep git commit: DecimalLit constructors.

Repository: incubator-quickstep
Updated Branches:
  refs/heads/decimal-type 85b0694b0 -> 8bb4c61ef


DecimalLit constructors.


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/8bb4c61e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/8bb4c61e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/8bb4c61e

Branch: refs/heads/decimal-type
Commit: 8bb4c61ef0e9a9ca44dd29cb6566ce160d4bbe54
Parents: 85b0694
Author: Hakan Memisoglu <ha...@apache.org>
Authored: Mon Jun 20 13:58:39 2016 -0500
Committer: Hakan Memisoglu <ha...@apache.org>
Committed: Mon Jun 20 13:58:39 2016 -0500

----------------------------------------------------------------------
 types/DecimalLit.hpp | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/8bb4c61e/types/DecimalLit.hpp
----------------------------------------------------------------------
diff --git a/types/DecimalLit.hpp b/types/DecimalLit.hpp
index 7675788..33f701a 100644
--- a/types/DecimalLit.hpp
+++ b/types/DecimalLit.hpp
@@ -274,6 +274,10 @@ struct DecimalLit {
     return static_cast<float>(data_) / kMaxFractionInt;
   }
 
+  DecimalLit()
+    : data_(0) {
+  }
+
   explicit DecimalLit(const int value)
     : data_(value * kMaxFractionInt) {
   }