We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9764f66 commit ce0c0c2Copy full SHA for ce0c0c2
src/aws-cpp-sdk-core/include/aws/core/utils/Waiter.h
@@ -95,7 +95,7 @@ template <typename OutcomeT>
95
struct PathAcceptor : Acceptor<OutcomeT> {
96
ExpectedValue expected;
97
PathMatcherFn<OutcomeT> pathMatcher;
98
- PathAcceptor(WaiterState s, ExpectedValue e, PathMatcherFn<OutcomeT>&& pm)
+ PathAcceptor(WaiterState s, ExpectedValue e, PathMatcherFn<OutcomeT> pm)
99
: Acceptor<OutcomeT>(s), expected(std::move(e)), pathMatcher(std::move(pm)) {}
100
bool Matches(const OutcomeT& outcome) const override {
101
return pathMatcher ? pathMatcher(outcome, expected) : false;
0 commit comments