diff options
Diffstat (limited to 'src/neighbor/Info.hxx')
-rw-r--r-- | src/neighbor/Info.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/neighbor/Info.hxx b/src/neighbor/Info.hxx index 3a34896e7..ac4806f14 100644 --- a/src/neighbor/Info.hxx +++ b/src/neighbor/Info.hxx @@ -25,6 +25,11 @@ struct NeighborInfo { std::string uri; std::string display_name; + + template<typename U, typename DN> + NeighborInfo(U &&_uri, DN &&_display_name) + :uri(std::forward<U>(_uri)), + display_name(std::forward<DN>(_display_name)) {} }; #endif |