[Libreoffice-commits] core.git: bin/find-unneeded-includes

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 12 07:19:50 UTC 2019


 bin/find-unneeded-includes |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 206f3c789ae0f7c82de37d04cc3a77627c76fd47
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Mon Jun 10 12:28:40 2019 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Jun 12 09:18:39 2019 +0200

    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 at collabora.com>

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 = {


More information about the Libreoffice-commits mailing list