X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FUndo.h;h=59f3ca44fc93a58975ee459ffc9440e5889a5ac1;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=1bd6450d7c3a03749952c322961a87c6d51e1099;hpb=8ec408053721fdbae9107880e6b17fcca35dbce9;p=lyx.git diff --git a/src/Undo.h b/src/Undo.h index 1bd6450d7c..59f3ca44fc 100644 --- a/src/Undo.h +++ b/src/Undo.h @@ -47,6 +47,9 @@ enum UndoKind { class Undo { + /// noncopyable + Undo(Undo const &); + void operator=(Undo const &); public: Undo(Buffer &); @@ -85,7 +88,7 @@ public: /** * This cursor takes precedence over what is passed to recordUndo. * In the case of nested groups, only the first cur_before is - * taken in account. The cursor is reset at the end of the + * taken into account. The cursor is reset at the end of the * top-level group. */ void beginUndoGroup(CursorData const & cur_before);