diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/bitmagic/fix-clang.patch | |
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: |