diff options
Diffstat (limited to 'include/klee/Expr/Expr.h')
-rw-r--r-- | include/klee/Expr/Expr.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/klee/Expr/Expr.h b/include/klee/Expr/Expr.h index c5d1e7bb..b509294c 100644 --- a/include/klee/Expr/Expr.h +++ b/include/klee/Expr/Expr.h @@ -553,9 +553,7 @@ public: UpdateList &operator=(const UpdateList &b) = default; /// size of this update list - unsigned getSize() const { - return (head.get() != nullptr ? head->getSize() : 0); - } + unsigned getSize() const { return head ? head->getSize() : 0; } void extend(const ref<Expr> &index, const ref<Expr> &value); |