From ad52301ca7f5afe42bf634546605094ba1f4caf9 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 3 Oct 2013 13:34:50 -0700 Subject: Turn off Qt including the C++ Standard Library headers We don't use any of the Standard Library features or classes in Subsurface, except for three uses of std::sort, for which I added the necessary #include. It's always a good idea to include directly the headers you want, without relying on indirect inclusion On my machine, the build time dropped from 16.96s to 13.38s or a 12% improvement. Signed-off-by: Thiago Macieira Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 917863968..d183b4a15 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -23,6 +23,8 @@ #include #include +#include + #define TIME_INITIAL_MAX 30 #define MAX_DEPTH M_OR_FT(150, 450) -- cgit v1.2.3-70-g09d2