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
This commit is contained in:
Richard Heck 2010-01-05 21:15:36 +00:00
parent 2177259e39
commit c5fda15678

View File

@ -55,12 +55,7 @@ private:
/// type for map between an action and its info
typedef std::map<FuncCode, FuncInfo> 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