diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-12-07 16:57:05 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-12-07 17:00:30 +1100 |
| commit | 3f7f199cb940c8d5f6d48f77fd59971adffe49ef (patch) | |
| tree | aa22162e46c5e9ccce4c7ee8537b493f437664d9 /lib/leveldb/include | |
| parent | 009f69c929eb1d1b65d75b0937fbf3b8de5d9148 (diff) | |
| download | tangara-fw-3f7f199cb940c8d5f6d48f77fd59971adffe49ef.tar.gz | |
Remove pre-iterator concepts
- No more IndexRecord/Result/dbGetPage nonsense
- Queue is just track ids
- i am so tired and have so much to do
Diffstat (limited to 'lib/leveldb/include')
| -rw-r--r-- | lib/leveldb/include/leveldb/slice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/leveldb/include/leveldb/slice.h b/lib/leveldb/include/leveldb/slice.h index 37cb8217..93438705 100644 --- a/lib/leveldb/include/leveldb/slice.h +++ b/lib/leveldb/include/leveldb/slice.h @@ -35,6 +35,9 @@ class LEVELDB_EXPORT Slice { // Create a slice that refers to the contents of "s" Slice(const std::string& s) : data_(s.data()), size_(s.size()) {} + // Create a slice that refers to the contents of "s" + Slice(std::string_view s) : data_(s.data()), size_(s.size()) {} + // Create a slice that refers to s[0,strlen(s)-1] Slice(const char* s) : data_(s), size_(strlen(s)) {} |
