include vector and add a using statement

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4196 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-05-24 10:01:07 +00:00
parent 4dd8a4ed0a
commit 75d1fb6874
2 changed files with 15 additions and 11 deletions

View 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.

View File

@ -10,12 +10,13 @@
#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_;
};