summaryrefslogtreecommitdiffstats
path: root/juniper
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-10-27 11:19:13 +0200
committerHenning Baldersheim <balder@oath.com>2018-11-01 15:14:38 +0100
commitd31a1b7f2df4ea94821a9d98754f4ae186bbf2d8 (patch)
tree75515a07b65e9225ac3a43f7830d825e5cbb916d /juniper
parentc3982d42b9d5ca9aea7600f5bc5fc6cceb78505a (diff)
Use a templated find() to enable lookup without object creation when objects are comparable.
Diffstat (limited to 'juniper')
-rw-r--r--juniper/src/vespa/juniper/stringmap.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/juniper/src/vespa/juniper/stringmap.cpp b/juniper/src/vespa/juniper/stringmap.cpp
index 13d7bdee980..a65350432fd 100644
--- a/juniper/src/vespa/juniper/stringmap.cpp
+++ b/juniper/src/vespa/juniper/stringmap.cpp
@@ -1,6 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "stringmap.h"
+#include <vespa/vespalib/stllike/hashtable.hpp>
void Fast_StringMap::Insert(const char* key, const char* value)
{