diff options
author | Haavard <havardpe@yahoo-inc.com> | 2017-03-20 13:04:33 +0000 |
---|---|---|
committer | Haavard <havardpe@yahoo-inc.com> | 2017-03-27 09:53:26 +0000 |
commit | 23abed1a0bc4f4c5ea47b43fc7ea0645e63a26e6 (patch) | |
tree | 6d943bbe31738f7e9b84979e4fd63dfd76eef580 /documentapi | |
parent | 8844ccb7297e8a5120dd903c85e923f2f93aa693 (diff) |
remove most usage of LinkedPtr from vespa
Diffstat (limited to 'documentapi')
-rw-r--r-- | documentapi/src/vespa/documentapi/loadtypes/loadtype.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/documentapi/src/vespa/documentapi/loadtypes/loadtype.h b/documentapi/src/vespa/documentapi/loadtypes/loadtype.h index 15d9c6f528b..6916c62416b 100644 --- a/documentapi/src/vespa/documentapi/loadtypes/loadtype.h +++ b/documentapi/src/vespa/documentapi/loadtypes/loadtype.h @@ -14,7 +14,6 @@ #pragma once #include <vespa/metrics/loadtype.h> -#include <vespa/vespalib/util/linkedptr.h> #include <vespa/documentapi/messagebus/priority.h> namespace vespalib { @@ -28,7 +27,7 @@ class LoadType : public metrics::LoadType { Priority::Value _priority; public: - typedef vespalib::LinkedPtr<LoadType> LP; + using UP = std::unique_ptr<LoadType>; LoadType(uint32_t id, const string& name, Priority::Value priority) : metrics::LoadType(id, name), _priority(priority) {} |