summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-09-26 14:27:23 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-09-26 14:27:23 +0200
commit77eb86bcdb4e2bf1b9663ccc0781abbbbd8b61bf (patch)
treec6619917511d02b71e79111ff2f4796800eea1f8 /src/context.hh
parentefc069b531446c75e884dbaf06f0d490f617f128 (diff)
Forbid context copy
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/context.hh b/src/context.hh
index a30a16bc..801cb289 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -23,6 +23,7 @@ struct Context
Context(Editor&& editor)
: m_editor(&editor) {}
+ Context(const Context&) = delete;
Context& operator=(const Context&) = delete;
Buffer& buffer() const