Skip to content

Commit ce0c0c2

Browse files
committed
Remove && for pathacceptor argument
1 parent 9764f66 commit ce0c0c2

File tree

1 file changed

+1
-1
lines changed
  • src/aws-cpp-sdk-core/include/aws/core/utils

1 file changed

+1
-1
lines changed

src/aws-cpp-sdk-core/include/aws/core/utils/Waiter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ template <typename OutcomeT>
9595
struct PathAcceptor : Acceptor<OutcomeT> {
9696
ExpectedValue expected;
9797
PathMatcherFn<OutcomeT> pathMatcher;
98-
PathAcceptor(WaiterState s, ExpectedValue e, PathMatcherFn<OutcomeT>&& pm)
98+
PathAcceptor(WaiterState s, ExpectedValue e, PathMatcherFn<OutcomeT> pm)
9999
: Acceptor<OutcomeT>(s), expected(std::move(e)), pathMatcher(std::move(pm)) {}
100100
bool Matches(const OutcomeT& outcome) const override {
101101
return pathMatcher ? pathMatcher(outcome, expected) : false;

0 commit comments

Comments
 (0)