From 9fc7f8a5ed2b045fb62fa3bca8a689f504e057df Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Fri, 18 Mar 2016 12:44:28 +0100 Subject: [PATCH] mutation_partition: row: Add empty() --- mutation_partition.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/mutation_partition.hh b/mutation_partition.hh index 04f7d7d157..0618ebb77e 100644 --- a/mutation_partition.hh +++ b/mutation_partition.hh @@ -119,6 +119,7 @@ public: row(row&& other); row& operator=(row&& other); size_t size() const { return _size; } + bool empty() const { return _size == 0; } void reserve(column_id);