Use Boost hash_fwd.hpp include instead of hash.hpp directly
Boost recommends this as the latter includes a whole bunch of other headers.
This commit is contained in:
parent
76173a9c72
commit
2eefdd8948
3 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@
|
|||
#include "utils/functional.hpp"
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include <boost/functional/hash_fwd.hpp>
|
||||
|
||||
#include <set>
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "log.hpp"
|
||||
#include "utils/math.hpp"
|
||||
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include <boost/functional/hash_fwd.hpp>
|
||||
|
||||
static lg::log_domain log_config("config");
|
||||
#define ERR_CF LOG_STREAM(err, log_config)
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "tstring.hpp"
|
||||
#include "gettext.hpp"
|
||||
#include "log.hpp"
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include <boost/functional/hash_fwd.hpp>
|
||||
|
||||
#include <boost/multi_index_container.hpp>
|
||||
#include <boost/multi_index/hashed_index.hpp>
|
||||
|
|
Loading…
Add table
Reference in a new issue