From b7ed825b50674705e838311364957dedd076380d Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 12 Jan 2024 11:27:57 +0100 Subject: [PATCH] Fix typos in annotations: 1524912 COPY_INSTEAD_OF_MOVE and 1524842 COPY_INSTEAD_OF_MOVE --- ext/yahttp/yahttp/router.hpp | 2 +- pdns/recursordist/rec-main.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/yahttp/yahttp/router.hpp b/ext/yahttp/yahttp/router.hpp index be52f831b0..3cb13ed986 100644 --- a/ext/yahttp/yahttp/router.hpp +++ b/ext/yahttp/yahttp/router.hpp @@ -59,7 +59,7 @@ is consumed but not stored. Note that only path is matched, scheme, host and url /*! Map an URL. If method is left empty, it will match any method. Name is also optional, but needed if you want to find it for making URLs */ - static void Map(const std::string& method, const std::string& url, THandlerFunction handler, const std::string& name = "") { router.map(method, std::move(url), handler, name); }; + static void Map(const std::string& method, const std::string& url, THandlerFunction handler, const std::string& name = "") { router.map(method, url, std::move(handler), name); }; static void Get(const std::string& url, THandlerFunction handler, const std::string& name = "") { router.map("GET", url, std::move(handler), name); }; //