summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-06-10 12:28:40 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-06-12 09:18:39 +0200
commit206f3c789ae0f7c82de37d04cc3a77627c76fd47 (patch)
tree751c81dbbedf499df898cb17be4ca0f1db45ccd7 /bin
parent5b793450008e4b5a2be0da920c1b7e2f3a818611 (diff)
find-unneeded-includes: don't propose to replace boost/functional/hash.hpp
As seen in vcl/inc/widgetdraw/WidgetDefinition.hxx Change-Id: Ic56ebd0f1c62b7cad25694b95bf8f91435169db9 Reviewed-on: https://gerrit.libreoffice.org/73753 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/find-unneeded-includes2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 9cce1cad1bdf..3a4e303bbfe6 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -89,6 +89,8 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
return True
if include == "boost/unordered_map.hpp" and "boost/unordered/unordered_map.hpp" in toAdd:
return True
+ if include == "boost/functional/hash.hpp" and "boost/container_hash/extensions.hpp" in toAdd:
+ return True
# Avoid .hxx to .h proposals in basic css/uno/* API
unoapi = {