about summary refs log tree commit diff homepage
path: root/include/klee/Expr/Expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/klee/Expr/Expr.h')
-rw-r--r--include/klee/Expr/Expr.h4
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);