]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson: fix a typo in errorator-related comment. 38191/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 19 Nov 2020 15:43:42 +0000 (16:43 +0100)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 19 Nov 2020 16:50:57 +0000 (17:50 +0100)
It was introduced in dca575992b34611d20f50c5db47e4b533cd7dc69.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/common/errorator.h

index 872f8bf60fba8d407de7d3284399bc632baf0c00..4fdbb53b54869ff0e01812384138f991ab76484f 100644 (file)
@@ -286,7 +286,7 @@ template <class FuncHead, class... FuncTail>
 static constexpr auto composer(FuncHead&& head, FuncTail&&... tail) {
   return [
     head = std::forward<FuncHead>(head),
-    // perfect forwarding in lambda's closure isn't availble in C++17
+    // perfect forwarding in lambda's closure isn't available in C++17
     // using tuple as workaround; see: https://stackoverflow.com/a/49902823
     tail = std::make_tuple(std::forward<FuncTail>(tail)...)
   ] (auto&&... args) mutable -> decltype(auto) {