]> git.lyx.org Git - lyx.git/blobdiff - src/layout.h
inherit privately from noncopyable
[lyx.git] / src / layout.h
index 7359b2d4a065c09e8f1144739180c78783894514..cfa8836e60ec28e0acb1a91806d033adfd9875f6 100644 (file)
@@ -210,7 +210,7 @@ public:
        ///
        string const & name() const { return name_; }
        ///
-       void name(string const & n) { name_ = n; }
+       void setName(string const & n) { name_ = n; }
        ///
        string const & obsoleted_by() const { return obsoleted_by_; }
        ///
@@ -547,7 +547,7 @@ std::ostream & operator<<(std::ostream & os, LyXTextClass::PageSides p);
 
 
 ///
-class LyXTextClassList : public noncopyable {
+class LyXTextClassList : boost::noncopyable {
 public:
        ///
        typedef std::vector<LyXTextClass> ClassList;