diff options
| author | Douglas B. Rumbaugh <dbr4@psu.edu> | 2024-03-25 12:54:17 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <dbr4@psu.edu> | 2024-03-25 12:54:17 -0400 |
| commit | b1b5ab106122e6917f6b34452be95e617506f05d (patch) | |
| tree | 1fea7e8b097077204b9cff12a4acbf66e857ed3b /include/query | |
| parent | fb4312a883dd0e382ecbcfe1119479e6f44d32a6 (diff) | |
| download | dynamic-extension-b1b5ab106122e6917f6b34452be95e617506f05d.tar.gz | |
Updates for build on OpenBSD
Necessary updates to get the codebase building under OpenBSD 7.5 with
clang. This is a minimal set of changes to get building to work, which
includes disabling several things that aren't directly compatable. More
work will be necessary to get full functionality. In particular, Triespline,
PGM, and the reference M-tree do not currently build on OpenBSD with clang
due to GNU dependencies or other gcc specific features.
Diffstat (limited to 'include/query')
| -rw-r--r-- | include/query/rangequery.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/query/rangequery.h b/include/query/rangequery.h index 24b38ec..e6ab581 100644 --- a/include/query/rangequery.h +++ b/include/query/rangequery.h @@ -121,7 +121,7 @@ public: for (size_t i = 0; i < tmp_n; ++i) if (results[i].size() > 0){ auto base = results[i].data(); - cursors.emplace_back(Cursor{base, base + results[i].size(), 0, results[i].size()}); + cursors.emplace_back(Cursor<Wrapped<R>>{base, base + results[i].size(), 0, results[i].size()}); assert(i == cursors.size() - 1); total += results[i].size(); pq.push(cursors[i].ptr, tmp_n - i - 1); |