aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h
diff options
context:
space:
mode:
authorHaavard <havardpe@yahoo-inc.com>2017-03-20 13:04:33 +0000
committerHaavard <havardpe@yahoo-inc.com>2017-03-27 09:53:26 +0000
commit23abed1a0bc4f4c5ea47b43fc7ea0645e63a26e6 (patch)
tree6d943bbe31738f7e9b84979e4fd63dfd76eef580 /streamingvisitors/src/vespa/searchvisitor/searchenvironment.h
parent8844ccb7297e8a5120dd903c85e923f2f93aa693 (diff)
remove most usage of LinkedPtr from vespa
Diffstat (limited to 'streamingvisitors/src/vespa/searchvisitor/searchenvironment.h')
-rw-r--r--streamingvisitors/src/vespa/searchvisitor/searchenvironment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h b/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h
index 0d3b9938089..0da6495bb05 100644
--- a/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h
+++ b/streamingvisitors/src/vespa/searchvisitor/searchenvironment.h
@@ -32,8 +32,8 @@ private:
std::unique_ptr<RankManager> _rankManager;
};
typedef vespalib::hash_map<vespalib::string, Env::SP> EnvMap;
- typedef vespalib::LinkedPtr<EnvMap> EnvMapLP;
- typedef std::vector< vespalib::LinkedPtr<EnvMap> > ThreadLocals;
+ typedef std::unique_ptr<EnvMap> EnvMapUP;
+ typedef std::vector<EnvMapUP> ThreadLocals;
static __thread EnvMap * _localEnvMap;
EnvMap _envMap;