summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-01-12 15:50:10 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-05-14 16:48:44 +0200
commitdd0504ffef02ee8e4f5f1c391a9b0183762b6f2d (patch)
tree5c353c0c5f9b5f346a78ffc8d0023df3d275910c
parentinclude cstddef for gcc11 (diff)
downloadcore-dd0504ffef02ee8e4f5f1c391a9b0183762b6f2d.tar.gz
core-dd0504ffef02ee8e4f5f1c391a9b0183762b6f2d.zip
Missing include (for std::min)
Change-Id: I44eebee0149d7e890aeff715dd7ae0005c45378d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109179 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit e24cc814b5b6e50967116cb3908e4bf56b7aee4b) (cherry picked from commit 2575182a0e106f61be4c5bd8a2ff60e069936424)
-rw-r--r--include/o3tl/lru_map.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/o3tl/lru_map.hxx b/include/o3tl/lru_map.hxx
index fbe6057f312e..b7aa948b1e15 100644
--- a/include/o3tl/lru_map.hxx
+++ b/include/o3tl/lru_map.hxx
@@ -11,6 +11,7 @@
#ifndef INCLUDED_O3TL_LRU_MAP_HXX
#define INCLUDED_O3TL_LRU_MAP_HXX
+#include <algorithm>
#include <cassert>
#include <list>
#include <unordered_map>