X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FShareContainer.h;h=8dd3d9706d61180ffed568fd557c14f4488c1fe7;hb=6f2999d2916773be291c05059893beb6434d99b9;hp=70b4ad9fc0a74e6bbb8f11296e329fbddae37284;hpb=a9b8bedc79a839c4ca3e593d312f3e1cc8900ac0;p=lyx.git diff --git a/src/ShareContainer.h b/src/ShareContainer.h index 70b4ad9fc0..8dd3d9706d 100644 --- a/src/ShareContainer.h +++ b/src/ShareContainer.h @@ -12,12 +12,12 @@ /// 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 ShareContainer : public noncopyable { +class ShareContainer : public boost::noncopyable { public: /// typedef std::vector > 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();