From 77eb86bcdb4e2bf1b9663ccc0781abbbbd8b61bf Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 26 Sep 2012 14:27:23 +0200 Subject: Forbid context copy --- src/context.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/context.hh') 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 -- cgit v1.2.3