aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/bitmagic/fix-clang.patch
blob: fb1b1561c7599820c75583896ba7e568287a3534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/bmsparsevec_compr.h b/src/bmsparsevec_compr.h
index ed774c6d..5dbaf09f 100644
--- a/src/bmsparsevec_compr.h
+++ b/src/bmsparsevec_compr.h
@@ -280,7 +280,10 @@ public:
         
         /** add a series of consequitve NULLs (no-value) to the container */
         void add_null(size_type count) BMNOEXCEPT;
-        
+
+        /** return true if insertion buffer is empty */
+        bool empty() const { return sv_bi_.empty(); }
+
         /** flush the accumulated buffer */
         void flush();
     protected: