diff options
author | Tim King <taking@cs.nyu.edu> | 2017-09-26 09:36:52 -0700 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2017-09-26 09:36:52 -0700 |
commit | 4a86f50e8220fabfe0458903ca6608cb99396114 (patch) | |
tree | 43092247c82fbcd75a3ed1378a8f3aeea9f3b27a /src | |
parent | 5854353603d5a3ce7e3a5914f1b6d29728d24ac2 (diff) |
Fixing CID 1172020: Initializing CDHashMap::iterator::d_it to nullptr. (#1139)
Diffstat (limited to 'src')
-rw-r--r-- | src/context/cdhashmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/cdhashmap.h b/src/context/cdhashmap.h index b6024b65d..5b7a4dab1 100644 --- a/src/context/cdhashmap.h +++ b/src/context/cdhashmap.h @@ -406,7 +406,7 @@ public: iterator(const iterator& i) : d_it(i.d_it) {} // Default constructor - iterator() {} + iterator() : d_it(nullptr) {} // (Dis)equality bool operator==(const iterator& i) const { |