diff options
author | Herbert Dürr <hdu@apache.org> | 2013-05-27 15:46:35 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2013-05-27 15:46:35 +0000 |
commit | 1f68b968b8cb93cbde556dcc3ed6c2a40b5242ff (patch) | |
tree | b821761571be89ef733ae0dada35294df00a1db2 /connectivity/source | |
parent | 08159967126946849906827ceadd802053d132c0 (diff) |
#i122208# include <algorithm> explicitly if functions from <algorithm> are used
most STLs include relevant parts of it indirectly, but
one can not depend on it (seen with MSVC's tr1 headers)
Notes
Notes:
prefer: 134458aa8d8bb49d3ef77c89eac7fdf505623985
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/commontools/TSkipDeletedSet.cxx | 1 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/AColumns.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/commontools/TSkipDeletedSet.cxx b/connectivity/source/commontools/TSkipDeletedSet.cxx index 297e05bad308..a1185f67a799 100644 --- a/connectivity/source/commontools/TSkipDeletedSet.cxx +++ b/connectivity/source/commontools/TSkipDeletedSet.cxx @@ -26,6 +26,7 @@ #include "TSkipDeletedSet.hxx" #include <osl/diagnose.h> #include <rtl/logfile.hxx> +#include <algorithm> using namespace connectivity; // ----------------------------------------------------------------------------- diff --git a/connectivity/source/drivers/ado/AColumns.cxx b/connectivity/source/drivers/ado/AColumns.cxx index 93984097eeea..2102443e11f1 100644 --- a/connectivity/source/drivers/ado/AColumns.cxx +++ b/connectivity/source/drivers/ado/AColumns.cxx @@ -34,9 +34,7 @@ #include <comphelper/property.hxx> #include <comphelper/types.hxx> #include <connectivity/dbexception.hxx> -#ifdef __MINGW32__ #include <algorithm> -#endif #include "resource/ado_res.hrc" using namespace connectivity::ado; |