From: Otto Moerbeek Date: Fri, 12 Jan 2024 09:32:49 +0000 (+0100) Subject: 1531280 COPY_INSTEAD_OF_MOVE X-Git-Tag: dnsdist-1.9.0-rc1~36^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93949788917548f9e3c4fa0c9449704c35248ce1;p=thirdparty%2Fpdns.git 1531280 COPY_INSTEAD_OF_MOVE --- diff --git a/ext/yahttp/yahttp/router.hpp b/ext/yahttp/yahttp/router.hpp index c9332078d0..be52f831b0 100644 --- a/ext/yahttp/yahttp/router.hpp +++ b/ext/yahttp/yahttp/router.hpp @@ -57,22 +57,22 @@ is consumed but not stored. Note that only path is matched, scheme, host and url static bool match(const std::string& route, const URL& requrl, std::map& params); //& params) { return router.match(route, requrl, params); }; static RoutingResult Route(Request *req, THandlerFunction& handler) { return router.route(req, handler); }; //url.path, returns RouteFound if route is found and method matches, RouteNoMethod if route is seen but method did match, and RouteNotFound if not found. static void PrintRoutes(std::ostream &os) { router.printRoutes(os); }; // URLFor(const std::string &name, const strstr_map_t& arguments) { return router.urlFor(name,arguments); }; //