summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-04-04 11:45:55 +0000
committerTor Egge <Tor.Egge@oath.com>2018-04-04 11:45:55 +0000
commit8cfeaeba255ccea54f8345724e72adf53280e33d (patch)
tree711593ee26f3688371e0b0ae948247df22ee54d0 /searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
parent7902239839a6f34e12ed7aa0f2b7a65114f8ee68 (diff)
Stop using nested typedef for shared pointer to const DocumentTypeRepo.
Diffstat (limited to 'searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp')
-rw-r--r--searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp b/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
index d59a67d73bb..9de850b37ec 100644
--- a/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
+++ b/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
@@ -70,7 +70,7 @@ struct DBConfigFixture {
DocumentDBConfig::SP getConfig(int64_t generation,
std::shared_ptr<DocumenttypesConfig> documentTypes,
- DocumentTypeRepo::SP repo,
+ std::shared_ptr<const DocumentTypeRepo> repo,
const vespalib::string &configId,
const vespalib::string &docTypeName)
{
@@ -167,7 +167,7 @@ struct ConfigFixture {
BootstrapConfig::SP getBootstrapConfig(int64_t generation) const {
return BootstrapConfig::SP(new BootstrapConfig(generation,
BootstrapConfig::DocumenttypesConfigSP(new DocumenttypesConfig(_documenttypesBuilder)),
- DocumentTypeRepo::SP(new DocumentTypeRepo(_documenttypesBuilder)),
+ std::shared_ptr<const DocumentTypeRepo>(new DocumentTypeRepo(_documenttypesBuilder)),
BootstrapConfig::ProtonConfigSP(new ProtonConfig(_protonBuilder)),
std::make_shared<FiledistributorrpcConfig>(),
std::make_shared<BucketspacesConfig>(_bucketspacesBuilder),