summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-07-08 21:21:51 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-07-10 19:47:45 +0300
commit6be0e4049854798b096b7bf244fa0a3d2076e5d2 (patch)
tree947fba6344fc551ba075a0392a21d12353112969
parentfaf1f433cd633c80db4444a6607422a4401424ca (diff)
downloadbmcweb-6be0e4049854798b096b7bf244fa0a3d2076e5d2.tar.xz
Spelling: 's/Resposne/Response/g'
Tested: Top commit (along with this) was built and ran against validator. Change-Id: I294783208b5016732fde56467ed5629dd5352a3d Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--http/routing.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/http/routing.h b/http/routing.h
index b2729ef968..2f90c0752d 100644
--- a/http/routing.h
+++ b/http/routing.h
@@ -478,7 +478,7 @@ class DynamicRule : public BaseRule, public RuleParameterTraits<DynamicRule>
}
// enable_if Arg1 == request && Arg2 == Response
- // enable_if Arg1 == request && Arg2 != resposne
+ // enable_if Arg1 == request && Arg2 != response
// enable_if Arg1 != request
template <typename Func, unsigned... Indices>
@@ -551,7 +551,7 @@ class TaggedRule :
!std::is_same<void, decltype(f(std::declval<Args>()...))>::value,
"Handler function cannot have void return type; valid return "
"types: "
- "string, int, crow::resposne, nlohmann::json");
+ "string, int, crow::response, nlohmann::json");
handler = [f = std::move(f)](const Request&, Response& res,
Args... args) {
@@ -578,7 +578,7 @@ class TaggedRule :
std::declval<Args>()...))>::value,
"Handler function cannot have void return type; valid return "
"types: "
- "string, int, crow::resposne,nlohmann::json");
+ "string, int, crow::response,nlohmann::json");
handler = [f = std::move(f)](const crow::Request& req,
crow::Response& res, Args... args) {