X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flastfiles.h;h=884817df30a6ace638060ab42abc56bcffbf27ac;hb=e059c633b01937f450ff9fa873cfc6b773aa74cc;hp=163ba40a1170f915739a5fc3d028a3990f5e8e0f;hpb=a040c0bc6f017d0591bbc7ad1aa590589dbc40ff;p=lyx.git diff --git a/src/lastfiles.h b/src/lastfiles.h index 163ba40a11..884817df30 100644 --- a/src/lastfiles.h +++ b/src/lastfiles.h @@ -5,7 +5,7 @@ * LyX, The Document Processor * * Copyright 1995 Matthias Ettrich - * Copyright 1995-1999 The LyX Team. + * Copyright 1995-2000 The LyX Team. * * ====================================================== */ @@ -17,11 +17,9 @@ #endif #include -using std::deque; #include "LString.h" - /** The latest documents loaded This class takes care of the last .lyx files used by the LyX user. It both reads and writes this information to a file. The number of files @@ -31,7 +29,7 @@ class LastFiles { public: /// - typedef deque Files; + typedef std::deque Files; /**@name Constructors and Deconstructors */ //@{ @@ -39,7 +37,8 @@ public: Parameters are: name of file to read. Whether LastFiles should check for file existance, and the number of files to remember. */ - LastFiles(string const &, bool dostat = true, unsigned int num = 4); + explicit LastFiles(string const &, + bool dostat = true, unsigned int num = 4); //@} /**@name Methods */