diff options
Diffstat (limited to 'slobrok')
-rw-r--r-- | slobrok/src/vespa/slobrok/server/union_service_map.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/slobrok/src/vespa/slobrok/server/union_service_map.h b/slobrok/src/vespa/slobrok/server/union_service_map.h index 79c34ed908e..f5e628a58bc 100644 --- a/slobrok/src/vespa/slobrok/server/union_service_map.h +++ b/slobrok/src/vespa/slobrok/server/union_service_map.h @@ -20,6 +20,12 @@ private: struct CountedSpec { vespalib::string spec; size_t count; + CountedSpec(const vespalib::string &spec_in, + size_t count_in) + : spec(spec_in), + count(count_in) + { + } }; using Mappings = std::vector<CountedSpec>; std::map<vespalib::string, Mappings> _mappings; |