]> git.lyx.org Git - lyx.git/blobdiff - src/ShareContainer.h
John's Layout Tabular UI improvements and Martins fixes to clearing the
[lyx.git] / src / ShareContainer.h
index 83e373c305fce0fd12e39ae484dbd5b6ee2f7caf..b36d1b652f18de260e98da79a26163e9d5051b43 100644 (file)
 /// Share objects between several users.
 /**
    This class can be used to reduce memory consuption when you have a lot
-   of equal objects used all over you code.
+   of equal objects used all over your code.
 
    \author Lars Gullik Bjønnes
 */
 template<class Share>
-class ShareContainer : public boost::noncopyable {
+class ShareContainer : boost::noncopyable {
 public:
        ///
        typedef std::vector<boost::shared_ptr<Share> > Params;
@@ -60,7 +60,7 @@ private:
        private:
                Share const & p_;
        };
-       /// A functor returning true if the element is unque.
+       /// A functor returning true if the element is unique.
        struct isUnique {
                bool operator()(value_type const & p) const {
                        return p.unique();