X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSession.h;h=04299b2569286e4947edca102e27feaa8758d201;hb=0c7bd9a57f2a308bb9659200eda3b7e45f8d5d3c;hp=f0a54b07bb676ff1e7cd5978842db73b6dbd81e9;hpb=5ef35803e45c10c2bb456def2dcdc61ec9eb16cc;p=lyx.git diff --git a/src/Session.h b/src/Session.h index f0a54b07bb..04299b2569 100644 --- a/src/Session.h +++ b/src/Session.h @@ -16,7 +16,6 @@ #include "support/FileName.h" #include "support/types.h" -#include #include #include #include @@ -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