projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
clang-tidy
[awesomized/libmemcached]
/
test
/
lib
/
ReturnMatcher.cpp
diff --git
a/test/lib/ReturnMatcher.cpp
b/test/lib/ReturnMatcher.cpp
index 863945e827961549cfad4b68eca83968c269262f..82f42d6573f3224deceb2497806a090852a69c79 100644
(file)
--- a/
test/lib/ReturnMatcher.cpp
+++ b/
test/lib/ReturnMatcher.cpp
@@
-1,11
+1,5
@@
#include "ReturnMatcher.hpp"
#include "ReturnMatcher.hpp"
-ReturnMatcher &ReturnMatcher::operator=(ReturnMatcher &&rm) {
- memc = exchange(rm.memc, nullptr);
- expected = rm.expected;
- return *this;
-}
-
bool ReturnMatcher::match(const memcached_return_t &arg) const {
return arg == expected;
}
bool ReturnMatcher::match(const memcached_return_t &arg) const {
return arg == expected;
}
@@
-23,6
+17,3
@@
string ReturnMatcher::describe() const {
+ "\n actual: " + memcached_last_error_message(memc);
}
+ "\n actual: " + memcached_last_error_message(memc);
}
-ReturnMatcher::ReturnMatcher(ReturnMatcher &&rm) {
- *this = move(rm);
-}