diff options
author | Tor Egge <Tor.Egge@oath.com> | 2018-04-04 11:29:32 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2018-04-04 11:29:32 +0000 |
commit | 7902239839a6f34e12ed7aa0f2b7a65114f8ee68 (patch) | |
tree | dd4acdb69101c6eb844d3d09a033aa54e8b4a402 /documentapi/src/tests/policies/testframe.h | |
parent | 4af2908b7854cbec1ee8173cc4a821d0482a978e (diff) |
Use shared pointer to const DocumentTypeRepo.
Diffstat (limited to 'documentapi/src/tests/policies/testframe.h')
-rw-r--r-- | documentapi/src/tests/policies/testframe.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/documentapi/src/tests/policies/testframe.h b/documentapi/src/tests/policies/testframe.h index 9a43a7367ea..15ec61aff7b 100644 --- a/documentapi/src/tests/policies/testframe.h +++ b/documentapi/src/tests/policies/testframe.h @@ -9,7 +9,6 @@ #include <vespa/messagebus/testlib/receptor.h> #include <vespa/messagebus/testlib/slobrok.h> #include <vespa/documentapi/loadtypes/loadtypeset.h> -#include <vespa/document/repo/documenttyperepo.h> using documentapi::string; @@ -37,7 +36,7 @@ public: * * @param identity The identity to use for the server. */ - TestFrame(const document::DocumentTypeRepo::SP &repo, + TestFrame(const std::shared_ptr<const document::DocumentTypeRepo> &repo, const string &ident = "anonymous"); /** |