diff options
Diffstat (limited to 'src/iso19111/factory.cpp')
| -rw-r--r-- | src/iso19111/factory.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp index 1dac2535..fbe88dda 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -685,13 +685,9 @@ void DatabaseContext::Private::attachExtraDatabases( closeDB(); - sqlite3_open_v2(":memory:", &sqlite_handle_, - SQLITE_OPEN_READWRITE | SQLITE_OPEN_NOMUTEX -#ifdef SQLITE_OPEN_URI - | SQLITE_OPEN_URI -#endif - , - nullptr); + sqlite3_open_v2( + ":memory:", &sqlite_handle_, + SQLITE_OPEN_READWRITE | SQLITE_OPEN_NOMUTEX | SQLITE_OPEN_URI, nullptr); if (!sqlite_handle_) { throw FactoryException("cannot create in memory database"); } |
