aboutsummaryrefslogtreecommitdiff
path: root/include/sqlitepp
diff options
context:
space:
mode:
Diffstat (limited to 'include/sqlitepp')
-rw-r--r--include/sqlitepp/sqlitepp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sqlitepp/sqlitepp.h b/include/sqlitepp/sqlitepp.h
index d75aa91..f9ed097 100644
--- a/include/sqlitepp/sqlitepp.h
+++ b/include/sqlitepp/sqlitepp.h
@@ -127,8 +127,10 @@ extern const std::string VERSION;
/// inspired by Scott Meyers, <em>Effective C++</em>, 3rd Edition, Item 6.
class Uncopyable {
protected:
- Uncopyable() {}
- ~Uncopyable() {}
+ Uncopyable() = default;
+ ~Uncopyable() = default;
+ Uncopyable(Uncopyable&&) = default;
+ Uncopyable& operator=(Uncopyable&&) = default;
private:
Uncopyable(const Uncopyable&);