diff options
Diffstat (limited to 'include/Support/DenseMap.h')
-rw-r--r-- | include/Support/DenseMap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Support/DenseMap.h b/include/Support/DenseMap.h index 9d713d97c3..9d55435c91 100644 --- a/include/Support/DenseMap.h +++ b/include/Support/DenseMap.h @@ -33,7 +33,7 @@ class DenseMap { ToIndexT toIndex_; public: - DenseMap() { } + DenseMap() : nullVal_(T()) { } explicit DenseMap(const T& val) : nullVal_(val) { } |