summaryrefslogtreecommitdiff
path: root/src/util_security.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util_security.h')
-rw-r--r--src/util_security.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/util_security.h b/src/util_security.h
index 120e4d96..2f37756b 100644
--- a/src/util_security.h
+++ b/src/util_security.h
@@ -90,16 +90,9 @@ public:
{
}
- HMACResult(const HMACResult& other) : result_(other.result_), len_(other.len_)
- {
- }
+ HMACResult(const HMACResult& other) = default;
- HMACResult& operator=(const HMACResult& other)
- {
- result_ = other.result_;
- len_ = other.len_;
- return *this;
- }
+ HMACResult& operator=(const HMACResult& other) = default;
bool operator==(const HMACResult& other) const
{