summaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-08-28 15:33:37 +0200
committerHenning Baldersheim <balder@oath.com>2018-08-28 15:33:37 +0200
commit7b6562b9b1e9da14386118826e7936ff5b8b5788 (patch)
tree07e0f98175dae74dd90120ff94d023aa7d72e617 /searchcommon
parent60d9e3beca7ebeca83ac5fd96f1950ba4578bfc9 (diff)
shared_ptr -> unique_ptr
Diffstat (limited to 'searchcommon')
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/i_attribute_functor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/i_attribute_functor.h b/searchcommon/src/vespa/searchcommon/attribute/i_attribute_functor.h
index 3ef9d2abf1a..fc657d606f9 100644
--- a/searchcommon/src/vespa/searchcommon/attribute/i_attribute_functor.h
+++ b/searchcommon/src/vespa/searchcommon/attribute/i_attribute_functor.h
@@ -23,7 +23,7 @@ public:
class IAttributeExecutor {
public:
virtual ~IAttributeExecutor() { }
- virtual void asyncForAttribute(const vespalib::string &name, std::shared_ptr<IAttributeFunctor> func) const = 0;
+ virtual void asyncForAttribute(const vespalib::string &name, std::unique_ptr<IAttributeFunctor> func) const = 0;
};
}