Use version preprocessor guards for RocksDB unique_ptr API, retain unique_ptr internally

This commit is contained in:
Bruno Postle
2026-06-05 08:12:55 +01:00
committed by Thomas Krijnen
parent 818ca6b2bc
commit 3f9b25d4e0
2 changed files with 25 additions and 35 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ namespace ifcopenshell {
class IFC_PARSE_API rocks_db_file_storage {
public:
rocksdb::DB* db;
std::unique_ptr<rocksdb::DB> db;
rocksdb::WriteOptions wopts;
rocksdb::ReadOptions ropts;
ifcopenshell::file* file;