diff options
Diffstat (limited to 'vcpkg/ports/bitmagic/fix-clang.patch')
| -rw-r--r-- | vcpkg/ports/bitmagic/fix-clang.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/bitmagic/fix-clang.patch b/vcpkg/ports/bitmagic/fix-clang.patch new file mode 100644 index 0000000..fb1b156 --- /dev/null +++ b/vcpkg/ports/bitmagic/fix-clang.patch @@ -0,0 +1,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: |