aboutsummaryrefslogtreecommitdiffstats
path: root/src/s2k/s2k.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-14 06:18:15 +0000
committerlloyd <[email protected]>2010-02-14 06:18:15 +0000
commit7424a5b5102b569e3c052cb195c98b5d1b60ce30 (patch)
tree70ab6872b9980969a7dea97bccdcdbb4e4916f7a /src/s2k/s2k.h
parent12e07d37e9622cfb24b2102090550a0260c6665c (diff)
parent16c3b54220d6e80f713a4d6321deb53a7b1e1fec (diff)
propagate from branch 'net.randombit.botan' (head 5bfc3e699003b86615c584f8ae40bd6e761f96c0)
to branch 'net.randombit.botan.c++0x' (head 8c64a107b58d41f376bfffc69dfab4514d722c5c)
Diffstat (limited to 'src/s2k/s2k.h')
-rw-r--r--src/s2k/s2k.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/s2k/s2k.h b/src/s2k/s2k.h
index 9ab71344e..f3b8b3901 100644
--- a/src/s2k/s2k.h
+++ b/src/s2k/s2k.h
@@ -51,9 +51,9 @@ class BOTAN_DLL S2K
S2K() {}
virtual ~S2K() {}
- private:
- S2K(const S2K&) {}
- S2K& operator=(const S2K&) { return (*this); }
+
+ S2K(const S2K&) = delete;
+ S2K& operator=(const S2K&) = delete;
};
}