Regex: move boost headers to top of list to work around clang issue which requires workarounds present in config.hpp.

This commit is contained in:
jzmaddock
2017-09-21 17:15:51 +01:00
parent 09894a5e21
commit 289ce86488
26 changed files with 33 additions and 31 deletions

View File

@ -13,6 +13,12 @@
#pragma warning(disable: 4996 4127)
#endif
#include <boost/config.hpp>
#include <boost/regex.hpp>
#include <boost/cregex.hpp>
#include <boost/timer.hpp>
#include <boost/smart_ptr.hpp>
#include <string>
#include <algorithm>
#include <deque>
@ -35,12 +41,6 @@ using std::streambuf;
using std::getline;
#endif
#include <boost/config.hpp>
#include <boost/regex.hpp>
#include <boost/cregex.hpp>
#include <boost/timer.hpp>
#include <boost/smart_ptr.hpp>
#if defined(_WIN32) && defined(BOOST_REGEX_USE_WIN32_LOCALE)
#include <windows.h>
#endif