src/frontends/qt2/FormCopyright.C
src/frontends/qt2/FormParagraph.C
src/frontends/qt2/FormPrint.C
+src/frontends/qt2/FormSearch.C
src/frontends/qt2/FormTabularCreate.C
src/frontends/qt2/paragraphdlgimpl.C
src/frontends/qt2/tabularcreatedlgimpl.C
+2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * ShareContainer.h: define a proper ShareContainer::value_type
+ type (and use typename to please compaq cxx)
+
2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* lyxparagraph.h: move serveral local vars to
* paragraph.C: changes because of the above.
* lyxfont.h: remove copy constructor and copy assignment. (the
- default ones is ok), move number inside FontBits. move inlines to lyxfont.C
+ default ones is ok), move number inside FontBits. move inlines to
+ lyxfont.C
* lyxfont.C: add number to initializaton of statics, move several
inlines here. constify several local vars. some whitespace
///
typedef std::vector<boost::shared_ptr<Share> > Params;
///
- Params::value_type
+ typedef typename Params::value_type value_type;
+ ///
+ value_type
get(Share const & ps) const {
// First see if we already have this ps in the container
Params::iterator it = params.begin();
if (ps == *(*it).get())
break;
}
- Params::value_type tmp;
+ value_type tmp;
if (it == end) {
// ok we don't have it so we should
// insert it.
private:
///
struct comp {
- int operator()(Params::value_type const & p1,
- Params::value_type const & p2) {
+ int operator()(value_type const & p1,
+ value_type const & p2) {
return p1.use_count() < p2.use_count();
}
};
///
struct isUnique {
- bool operator()(Params::value_type const & p) const {
+ bool operator()(value_type const & p) const {
return p.unique();
}
};