diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-03-23 20:03:02 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-03-30 15:22:11 +0100 |
commit | 95d7b543059be9cbf97fe28b1705be05b54a3b4f (patch) | |
tree | 7efcc64d6d88fa158ba28763bb34e86fb21a3049 /vcl/inc/impgraph.hxx | |
parent | 023ae9a825218686d444e2cbe770e743f70c73b9 (diff) |
vcl: add resetLastUsed to ImpGraph
We reset the last used member variable in many places in the same
way, so instead of duplicating the implementation, add that to a
method.
Change-Id: I747559ecf1a6736f976b4d560ab5052c19431898
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165207
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc/impgraph.hxx')
-rw-r--r-- | vcl/inc/impgraph.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx index 35542db74641..23d482aded23 100644 --- a/vcl/inc/impgraph.hxx +++ b/vcl/inc/impgraph.hxx @@ -217,6 +217,7 @@ private: bool canReduceMemory() const override; bool reduceMemory() override; std::chrono::high_resolution_clock::time_point getLastUsed() const override; + void resetLastUsed() const; public: void resetChecksum() { mnChecksum = 0; } |