quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hakanmemiso...@apache.org
Subject incubator-quickstep git commit: default constructor for DecimalLit.
Date Mon, 20 Jun 2016 19:03:25 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/decimal-type 8bb4c61ef -> 88306cbdb


default constructor for DecimalLit.


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

Branch: refs/heads/decimal-type
Commit: 88306cbdb9af99221fd6036f7307b96515abed39
Parents: 8bb4c61
Author: Hakan Memisoglu <hakanmemisoglu@apache.org>
Authored: Mon Jun 20 14:03:11 2016 -0500
Committer: Hakan Memisoglu <hakanmemisoglu@apache.org>
Committed: Mon Jun 20 14:03:11 2016 -0500

----------------------------------------------------------------------
 types/DecimalLit.hpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


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


Mime
View raw message