From ad56717ed85d271616e102540a2e20e3cf7a887c Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Mon, 13 Dec 2021 14:22:01 +0100 Subject: 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 Reviewed-by: Miklos Vajna --- bin/find-unneeded-includes | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') 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: -- cgit