From: Lars Gullik Bjønnes Date: Tue, 17 Apr 2001 14:00:20 +0000 (+0000) Subject: inherit privately from noncopyable X-Git-Tag: 1.6.10~21307 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0b98ee5f2ec731d156b976856b0db52dc9534e59;p=features.git inherit privately from noncopyable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1926 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 694065dae4..6e0805f9b7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,12 @@ 2001-04-17 Lars Gullik Bjønnes + * lastfiles.h: inherit privately from noncopyable + * layout.h: ditto + * lyx_gui.h: ditto + * lyx_main.h: ditto + * lyxlex.h: ditto + * lyxlex_pimpl.h: ditto + * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT, LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP diff --git a/src/lastfiles.h b/src/lastfiles.h index 2161903da4..31f57e73f9 100644 --- a/src/lastfiles.h +++ b/src/lastfiles.h @@ -27,7 +27,7 @@ kept are user defined, but defaults to four. @author Lars Gullik Bjønnes */ -class LastFiles : public boost::noncopyable { +class LastFiles : boost::noncopyable { public: /// typedef std::deque Files; diff --git a/src/layout.h b/src/layout.h index 9cfe9098e6..cfa8836e60 100644 --- a/src/layout.h +++ b/src/layout.h @@ -547,7 +547,7 @@ std::ostream & operator<<(std::ostream & os, LyXTextClass::PageSides p); /// -class LyXTextClassList : public boost::noncopyable { +class LyXTextClassList : boost::noncopyable { public: /// typedef std::vector ClassList; diff --git a/src/lyx_gui.h b/src/lyx_gui.h index 6068dd3c40..ef2b6ef93b 100644 --- a/src/lyx_gui.h +++ b/src/lyx_gui.h @@ -28,7 +28,7 @@ class Buffer; have not clearly figured out how this class is going to be, suggestions are welcome. (Lgb) */ -class LyXGUI : public boost::noncopyable { +class LyXGUI : boost::noncopyable { public: /** The only constructor allowed. If gui is false, LyX will operate in non-X mode diff --git a/src/lyx_main.h b/src/lyx_main.h index 5445d944d8..087b8fb043 100644 --- a/src/lyx_main.h +++ b/src/lyx_main.h @@ -44,7 +44,7 @@ extern LastFiles * lastfiles; /* we should hopefully be able to move this /** This is the main LyX object it encapsulates most of the other objects. */ -class LyX : public boost::noncopyable { +class LyX : boost::noncopyable { public: /// the only allowed constructor LyX(int * argc, char * argv[]); // constructor diff --git a/src/lyxlex.h b/src/lyxlex.h index c65b24724b..f02ad54474 100644 --- a/src/lyxlex.h +++ b/src/lyxlex.h @@ -29,7 +29,7 @@ struct keyword_item { texclass and others to come. @see lyxrc.C for an example of usage. */ -class LyXLex : public boost::noncopyable { +class LyXLex : boost::noncopyable { public: /// LyXLex (keyword_item *, int); diff --git a/src/lyxlex_pimpl.h b/src/lyxlex_pimpl.h index 996c9acd3f..ae7cbf7fd9 100644 --- a/src/lyxlex_pimpl.h +++ b/src/lyxlex_pimpl.h @@ -14,7 +14,7 @@ #endif /// -struct LyXLex::Pimpl : public boost::noncopyable { +struct LyXLex::Pimpl : boost::noncopyable { /// enum { ///