File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ project(morum
24
24
VERSION 0.1.0
25
25
LANGUAGES C CXX
26
26
)
27
-
28
27
set (CMAKE_CXX_STANDARD 23)
29
28
set (CMAKE_CXX_STANDARD_REQUIRED ON )
30
29
set (CMAKE_CXX_EXTENSIONS OFF )
Original file line number Diff line number Diff line change 6
6
7
7
#include < morum/db.hpp>
8
8
#include < qtils/assert.hpp>
9
- #include < qtils/bytestr .hpp>
9
+ #include < qtils/byte_utils .hpp>
10
10
#include < qtils/macro/unwrap.hpp>
11
11
#include < rocksdb/db.h>
12
12
#include < rocksdb/options.h>
@@ -181,9 +181,10 @@ namespace morum {
181
181
std::expected<void , StorageError> RocksDbColumnFamily::write (
182
182
qtils::ByteSpan key, qtils::ByteSpan value) {
183
183
rocksdb::WriteBatch updates;
184
- QTILS_UNWRAP_void (wrap_status (updates.Put (handle,
185
- rocksdb::Slice{qtils::byte2str (key)},
186
- rocksdb::Slice{qtils::byte2str (value)})));
184
+ QTILS_UNWRAP_void (
185
+ wrap_status (updates.Put (handle,
186
+ rocksdb::Slice{qtils::byte2str (key)},
187
+ rocksdb::Slice{qtils::byte2str (value)})));
187
188
QTILS_UNWRAP_void (
188
189
wrap_status (db->db ->Write (rocksdb::WriteOptions{}, &updates)));
189
190
return {};
Original file line number Diff line number Diff line change 54
54
"name" : " nlohmann-json" ,
55
55
"version>=" : " 3.11.3"
56
56
}
57
- ]
57
+ ]
58
58
}
You can’t perform that action at this time.
0 commit comments