From 771a6d51434dbe83aec60bd59b4beb82911bcdcf Mon Sep 17 00:00:00 2001 From: Michael Hackstein Date: Thu, 27 Aug 2015 17:26:01 +0200 Subject: [PATCH] Should have dereferenced the pointer before adding sth --- lib/Basics/AssocUnique.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Basics/AssocUnique.h b/lib/Basics/AssocUnique.h index d65c9c4e63..14a97ca971 100644 --- a/lib/Basics/AssocUnique.h +++ b/lib/Basics/AssocUnique.h @@ -580,7 +580,7 @@ namespace triagens { // Fill Total *total = 0; for (auto& b : _buckets) { - total += b._nrAlloc; + *total += b._nrAlloc; } TRI_ASSERT(*total > 0); }