diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2021-12-13 14:22:01 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-12-14 08:39:30 +0100 |
commit | ad56717ed85d271616e102540a2e20e3cf7a887c (patch) | |
tree | 1fa264cd3355f58824d8b731d671de5f90b325c6 /bin | |
parent | 8963dbab857cf8a2f5ff8c75846a686f26303d72 (diff) |
find-unneeded-includes: add exception for boost/shared_ptr.hpp
* as seen in vcl/inc/skia/salbmp.hxx
* also remove earlier exception from ucb modules file
Change-Id: Ie0ad46048147916b615f74d8eab6e033c2020565
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126739
Tested-by: Jenkins
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find-unneeded-includes | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes index 0e8cec276968..93257451cce9 100755 --- a/bin/find-unneeded-includes +++ b/bin/find-unneeded-includes @@ -86,6 +86,8 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules): return True if include == "boost/intrusive_ptr.hpp" and "boost/smart_ptr/intrusive_ptr.hpp" in toAdd: return True + if include == "boost/shared_ptr.hpp" and "boost/smart_ptr/shared_ptr.hpp" in toAdd: + return True if include == "boost/variant.hpp" and "boost/variant/variant.hpp" in toAdd: return True if include == "boost/unordered_map.hpp" and "boost/unordered/unordered_map.hpp" in toAdd: |