diff --git a/LiteCore/Storage/SQLiteDataFile.cc b/LiteCore/Storage/SQLiteDataFile.cc index 0c5ffc3a0..98401f1bb 100644 --- a/LiteCore/Storage/SQLiteDataFile.cc +++ b/LiteCore/Storage/SQLiteDataFile.cc @@ -80,11 +80,11 @@ namespace litecore { // Maximum size WAL journal will be left at after a commit static const int64_t kJournalSize = 5 * MB; + static map kValidExtensionVersions = { #ifdef COUCHBASE_ENTERPRISE - static constexpr int kVectorSearchCompatibleVersion = 1; - - static map kValidExtensionVersions = {{"CouchbaseLiteVectorSearch", kVectorSearchCompatibleVersion}}; + {"CouchbaseLiteVectorSearch", 1} #endif + }; // Amount of file to memory-map #if TARGET_OS_OSX || TARGET_OS_SIMULATOR