summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchcommon/attribute/iattributecontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/vespa/searchcommon/attribute/iattributecontext.h')
-rw-r--r--searchlib/src/vespa/searchcommon/attribute/iattributecontext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchcommon/attribute/iattributecontext.h b/searchlib/src/vespa/searchcommon/attribute/iattributecontext.h
index bb349057ca9..9c89b6a0f8b 100644
--- a/searchlib/src/vespa/searchcommon/attribute/iattributecontext.h
+++ b/searchlib/src/vespa/searchcommon/attribute/iattributecontext.h
@@ -12,9 +12,9 @@ namespace search::attribute {
**/
class IAttributeContext : public IAttributeExecutor {
public:
- typedef vespalib::string string;
+ using string = vespalib::string;
/** Convenience typedefs **/
- typedef std::unique_ptr<IAttributeContext> UP;
+ using UP = std::unique_ptr<IAttributeContext>;
/**
* Returns the attribute vector with the given name.
@@ -48,7 +48,7 @@ public:
/**
* Virtual destructor to allow safe subclassing.
**/
- virtual ~IAttributeContext() {}
+ virtual ~IAttributeContext() = default;
};
}