diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-05-23 13:35:00 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-05-23 13:35:00 +0000 |
commit | 9ddb444e4c1c9f2ead5e2d0693ead348cc30059a (patch) | |
tree | 916e82d9e3c1be6143385e67148c660ef4ca8a26 /searchcore/src/apps/tests | |
parent | 892d4c41216a44ed704855239336316fe8f35293 (diff) |
- Avoid using shared_ptr for simpe AllocConfig and ThreadingServiceConfig.
- Reduce exposure of DocumentDBConfig and DocumentDBConfigManager classes.
Diffstat (limited to 'searchcore/src/apps/tests')
-rw-r--r-- | searchcore/src/apps/tests/persistenceconformance_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/apps/tests/persistenceconformance_test.cpp b/searchcore/src/apps/tests/persistenceconformance_test.cpp index ec48d8ebc65..64db35b7acb 100644 --- a/searchcore/src/apps/tests/persistenceconformance_test.cpp +++ b/searchcore/src/apps/tests/persistenceconformance_test.cpp @@ -149,8 +149,8 @@ public: schema, std::make_shared<DocumentDBMaintenanceConfig>(), search::LogDocumentStore::Config(), - std::make_shared<const ThreadingServiceConfig>(ThreadingServiceConfig::make()), - std::make_shared<const AllocConfig>(), + ThreadingServiceConfig::make(), + AllocConfig::makeDefault(), "client", docTypeName.getName()); } |