]> git.lyx.org Git - features.git/commitdiff
include vector and add a using statement
authorLars Gullik Bjønnes <larsbj@gullik.org>
Fri, 24 May 2002 10:01:07 +0000 (10:01 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Fri, 24 May 2002 10:01:07 +0000 (10:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4196 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/math_autocorrect.C

index 5e7dfffe2ffc9e504bb6fc43f4a44d7aa6837b6e..516e3701366ca8cc22d87cc0d24dae737f7cd30a 100644 (file)
@@ -1,3 +1,6 @@
+2002-05-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * math_autocorrect.C: include vector and add a using statement.
 
 2002-05-23  André Pönitz <poenitz@gmx.net>
 
@@ -10,7 +13,7 @@
 
        * formula.C:
        * formulabase.C: LyXView moved into frontends/
+
 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
 
        * 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  <larsbj@birdstep.com>
 
        * math_exintinset.C: use more specific smart_ptr header.
index 5d371a6ee83a342080b589b46c864856b13171c6..63315bc651ad61d35bba36244e2150a42298a6e1 100644 (file)
 
 #include <iostream>
 #include <fstream>
+#include <vector>
 
 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<Correction>::const_iterator const_iterator;
-       ///     
+       ///
        Corrections() {}
-       ///     
+       ///
        void insert(const Correction & corr) { data_.push_back(corr); }
        ///
        bool correct(MathAtom & at, char c) const;
 private:
-       ///     
-       vector<Correction> data_;       
+       ///
+       vector<Correction> data_;
 };