Kaydet (Commit) 780d0945 authored tarafından Julien Nabet's avatar Julien Nabet

Replace list by deque for maFkpCache (ww8scan)

Change-Id: I5d2699bd3cbbc18844585f8c2619295f974eb7ce
Reviewed-on: https://gerrit.libreoffice.org/71887
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 5e38da86
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include <cstddef> #include <cstddef>
#include <list> #include <deque>
#include <memory> #include <memory>
#include <stack> #include <stack>
#include <unordered_map> #include <unordered_map>
...@@ -600,7 +600,7 @@ private: ...@@ -600,7 +600,7 @@ private:
== 10 : 18549 pap, 47 chp == 10 : 18549 pap, 47 chp
== 5 : 18515 pap, 47 chp == 5 : 18515 pap, 47 chp
*/ */
std::list<std::unique_ptr<WW8Fkp>> maFkpCache; std::deque<std::unique_ptr<WW8Fkp>> maFkpCache;
enum Limits {eMaxCache = 50000}; enum Limits {eMaxCache = 50000};
bool NewFkp(); bool NewFkp();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment