diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-23 12:17:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 12:17:08 +0200 |
commit | 7d2d83edf14b8d627fa93fb1c80c376f12448236 (patch) | |
tree | a471c94b9fa5508b2a1f3c7702b98524b6b15f5e /slobrok | |
parent | f706101a1260e2a61bdedbe530d812457c6a55b1 (diff) | |
parent | 2041eefbd9ee66c06a33ba09fb6ee5f01ca7353a (diff) |
Merge pull request #18826 from vespa-engine/toregge/fix-clang-errors-on-fedora-34
Fix forward declaration.
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; |