Added fix/workaround for GH #2220

This commit is contained in:
Günter Obiltschnig 2018-03-14 13:20:34 +01:00
parent 604872b56b
commit 53821f5638

View File

@ -12,6 +12,16 @@
// //
// Workaround for an issue with the Visual C++ 2008 STL
// implementation. If iterator debugging is enabled (default
// if _DEBUG is #define'd), std::lower_bound() will fail
// to compile.
// See also: <https://github.com/pocoproject/poco/issues/2220>
#if defined(_MSC_VER) && _MSC_VER <= 1500
#define _HAS_ITERATOR_DEBUGGING 0
#endif
#include "Poco/DoubleByteEncoding.h" #include "Poco/DoubleByteEncoding.h"
#include "Poco/String.h" #include "Poco/String.h"
#include <algorithm> #include <algorithm>