diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 5e7dfffe2f..516e370136 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,6 @@ +2002-05-24 Lars Gullik Bjønnes + + * math_autocorrect.C: include vector and add a using statement. 2002-05-23 André Pönitz @@ -10,7 +13,7 @@ * formula.C: * formulabase.C: LyXView moved into frontends/ - + 2002-05-23 John Levon * formula.C: @@ -34,7 +37,7 @@ * math_unknowninset.C: * math_xdata.C: * math_xyarrowinset.C: move Painter to frontends/ - + 2002-05-22 Lars Gullik Bjønnes * math_exintinset.C: use more specific smart_ptr header. diff --git a/src/mathed/math_autocorrect.C b/src/mathed/math_autocorrect.C index 5d371a6ee8..63315bc651 100644 --- a/src/mathed/math_autocorrect.C +++ b/src/mathed/math_autocorrect.C @@ -10,12 +10,13 @@ #include #include +#include using std::ifstream; using std::istream; using std::ostream; using std::endl; - +using std::vector; namespace { @@ -30,11 +31,11 @@ public: /// void write(ostream & os) const; private: - /// + /// MathAtom from1_; - /// + /// char from2_; - /// + /// MathAtom to_; }; @@ -98,17 +99,17 @@ ostream & operator<<(ostream & os, Correction & corr) class Corrections { public: - /// + /// typedef vector::const_iterator const_iterator; - /// + /// Corrections() {} - /// + /// void insert(const Correction & corr) { data_.push_back(corr); } /// bool correct(MathAtom & at, char c) const; private: - /// - vector data_; + /// + vector data_; };