diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-09 23:08:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-10 23:27:39 +0200 |
commit | 5fd84da4d638a11f087f74a216ff189dbccdfd96 (patch) | |
tree | 6cb43962c6fa138978a855bbbd9e029675683ba5 /include | |
parent | 64baed93cfa9b74d6ef5a8913918cfbaf8499271 (diff) |
vcl: forward declare boost::optional in settings.hxx
... for 1134 fewer uses of optional.hpp and a saving of 673 MB of
preprocessor input.
Change-Id: I9e8020f3e1ae968db403174c1bc0c1eba1139ecb
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/settings.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx index 996feb1e7c7d..18cef47c9e5b 100644 --- a/include/vcl/settings.hxx +++ b/include/vcl/settings.hxx @@ -31,9 +31,13 @@ #include <unotools/syslocale.hxx> #include <o3tl/typed_flags_set.hxx> -#include <boost/optional.hpp> #include <memory> +namespace boost +{ + template<typename T> class optional; +} + class CollatorWrapper; class LocaleDataWrapper; struct ImplMouseData; |