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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 21 07:29:38 UTC 2018


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

New commits:
commit 6ed8e3258da439172e97a1404ef9e4d6453556a1
Author:     Gabor Kelemen <kelemeng at ubuntu.com>
AuthorDate: Thu Sep 20 20:41:20 2018 +0200
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Fri Sep 21 09:29:07 2018 +0200

    find-unneeded-includes: Don't propose functional -> bits/std_function.h
    
    As seen for include/comphelper/doublecheckedinit.hxx - won't compile anyways
    
    Change-Id: I3a0d5e115ecfc61ae90c6e843ecf4f0213b76e82
    Reviewed-on: https://gerrit.libreoffice.org/60838
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index e912a9155c82..4196640e5d2b 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -57,6 +57,7 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
     bits = {
         "exception": "bits/exception.h",
         "memory": "bits/shared_ptr.h",
+        "functional": "bits/std_function.h",
     }
     for k, v in bits.items():
         if include == k and v in toAdd:


More information about the Libreoffice-commits mailing list