make it compile with gcc 3.0

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1735 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-03-12 08:52:37 +00:00
parent 46ab079b9f
commit a9b8bedc79
5 changed files with 12 additions and 1 deletions

View File

@ -65,6 +65,7 @@ extern int greek_kb_flag;
using SigC::slot;
#endif
using std::vector;
using std::find_if;
using std::pair;
using std::endl;

View File

@ -1,5 +1,13 @@
2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* lyx_cb.C: readd using std::ios.
* buffer.C: add using std::map.
* BufferView_pimpl.C: add using std::vector.
* ShareContainer.h: add std:: to swap.
* buffer.h: add some typedefs
* buffer.C (getLists): use them
(getLists): renamed from getTocList.

View File

@ -46,7 +46,7 @@ public:
// move it forward - optimization
// makes the next find faster.
if (it != params.begin())
swap(*it, *(it - 1));
std::swap(*it, *(it - 1));
}
return tmp;
}

View File

@ -107,6 +107,7 @@ using std::endl;
using std::pair;
using std::make_pair;
using std::vector;
using std::map;
using std::max;
using std::set;

View File

@ -39,6 +39,7 @@ using std::vector;
using std::ifstream;
using std::copy;
using std::endl;
using std::ios;
using std::back_inserter;
using std::istream_iterator;
using std::pair;