diff options
author | Geir Storli <geirstorli@yahoo.no> | 2018-04-04 14:44:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 14:44:13 +0200 |
commit | a3d2dad8b01377a87754b714f54ff05c87bf1f8c (patch) | |
tree | 870e326f7d7f25b3caf4d029638c977f0c1712f3 /document/src/tests | |
parent | f86708b7b67e38289384d03079f461f532b8763c (diff) | |
parent | 8cfeaeba255ccea54f8345724e72adf53280e33d (diff) |
Merge pull request #5455 from vespa-engine/toregge/use-shared-ptr-to-const-document-type-repo
Use shared pointer to const DocumentTypeRepo.
Diffstat (limited to 'document/src/tests')
-rw-r--r-- | document/src/tests/documentselectparsertest.cpp | 2 | ||||
-rw-r--r-- | document/src/tests/fieldpathupdatetestcase.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/document/src/tests/documentselectparsertest.cpp b/document/src/tests/documentselectparsertest.cpp index 410ac539ff4..05ec2ce99d0 100644 --- a/document/src/tests/documentselectparsertest.cpp +++ b/document/src/tests/documentselectparsertest.cpp @@ -118,7 +118,7 @@ public: CPPUNIT_TEST_SUITE_REGISTRATION(DocumentSelectParserTest); namespace { - DocumentTypeRepo::SP _repo; + std::shared_ptr<const DocumentTypeRepo> _repo; } void DocumentSelectParserTest::setUp() diff --git a/document/src/tests/fieldpathupdatetestcase.cpp b/document/src/tests/fieldpathupdatetestcase.cpp index 70f16eccfe1..cade696e06c 100644 --- a/document/src/tests/fieldpathupdatetestcase.cpp +++ b/document/src/tests/fieldpathupdatetestcase.cpp @@ -23,7 +23,7 @@ namespace document { using namespace fieldvalue; struct FieldPathUpdateTestCase : public CppUnit::TestFixture { - DocumentTypeRepo::SP _repo; + std::shared_ptr<const DocumentTypeRepo> _repo; DocumentType _foobar_type; void setUp() override; |