From c5fda156780c66cca8c413b3b981f3d9e6b9fb5e Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 5 Jan 2010 21:15:36 +0000 Subject: [PATCH] This seems somehow to have ended up in the wrong place. I guess since it's unimplemented, you'd get link errors, but the usual way to make it non-copyable is to make these private AND unimplemented. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32781 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/LyXAction.h b/src/LyXAction.h index 2f718ff722..0d30f8101a 100644 --- a/src/LyXAction.h +++ b/src/LyXAction.h @@ -55,12 +55,7 @@ private: /// type for map between an action and its info typedef std::map InfoMap; - public: - /// noncopyable - LyXAction(LyXAction const &); - void operator=(LyXAction const &); - /// possible "permissions" for an action enum FuncAttribs { Noop = 0, //< Nothing special about this func @@ -102,6 +97,10 @@ public: const_iterator func_end() const; private: + /// noncopyable + LyXAction(LyXAction const &); + void operator=(LyXAction const &); + /// populate the action container with our actions void init(); /// add the given action -- 2.39.2