X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSession.h;h=04299b2569286e4947edca102e27feaa8758d201;hb=f5f8c6fd3828285b67e43a9c16d4ac2ff2140944;hp=98ac563223d35ad55d1ca611dd649b4e2b185f9a;hpb=5518b0424887a3d04937afdf90f2b951d028c9c1;p=lyx.git diff --git a/src/Session.h b/src/Session.h index 98ac563223..04299b2569 100644 --- a/src/Session.h +++ b/src/Session.h @@ -16,10 +16,9 @@ #include "support/FileName.h" #include "support/types.h" +#include #include -#include #include -#include /** This session file maintains 1. the latest documents loaded (lastfiles) @@ -58,7 +57,7 @@ class LastFilesSection : SessionSection { public: /// - typedef std::deque LastFiles; + typedef std::vector LastFiles; public: /// @@ -70,10 +69,10 @@ public: /// void write(std::ostream & os) const; - /// Return lastfiles container (deque) + /// Return lastfiles container (vector) LastFiles const lastFiles() const { return lastfiles; } - /** Insert #file# into the lastfile dequeue. + /** Insert #file# into the lastfile vector. This funtion inserts #file# into the last files list. If the file already exists it is moved to the top of the list, else exist it is placed on the top of the list. If the list is full the last