summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-08-18 22:17:55 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-08-18 22:17:55 +0200
commitba87ae61b34de5e8974c1efa728317ed6add7087 (patch)
tree1ae5170b3047b9593c8d3808142c1618b7d46572 /vespalib
parent5fb8e66dbd2d6e02a64a054e147ac7214943d563 (diff)
Add missing return statement.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/test/datastore/buffer_stats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/test/datastore/buffer_stats.h b/vespalib/src/vespa/vespalib/test/datastore/buffer_stats.h
index 73d22ea63a4..bdf49562c33 100644
--- a/vespalib/src/vespa/vespalib/test/datastore/buffer_stats.h
+++ b/vespalib/src/vespa/vespalib/test/datastore/buffer_stats.h
@@ -46,6 +46,7 @@ struct BufferStats
assert(_extra_hold >= val);
_extra_used -= val;
_extra_hold -= val;
+ return *this;
}
};