Commit 226ec99a authored by Sergey Vojtovich's avatar Sergey Vojtovich

MDEV-15510 - storage/oqgraph: Quench warnings with Boost 1.66

Moved Boost configuration definitions before first inclusion of Boost
headers to avoid re-definition.
parent 400a8eb6
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#define BOOST_ALL_NO_LIB 1 #define BOOST_ALL_NO_LIB 1
#define BOOST_NO_RTTI 1 #define BOOST_NO_RTTI 1
#define BOOST_NO_TYPEID 1 #define BOOST_NO_TYPEID 1
#define BOOST_NO_HASH 1
#define BOOST_NO_SLIST 1
#ifdef DBUG_OFF #ifdef DBUG_OFF
#define NDEBUG 1 #define NDEBUG 1
......
...@@ -27,9 +27,6 @@ ...@@ -27,9 +27,6 @@
#include "oqgraph_judy.h" #include "oqgraph_judy.h"
#include "oqgraph_thunk.h" #include "oqgraph_thunk.h"
#define BOOST_NO_HASH 1
#define BOOST_NO_SLIST 1
#include <boost/graph/directed_graph.hpp> #include <boost/graph/directed_graph.hpp>
#include <boost/graph/adjacency_iterator.hpp> #include <boost/graph/adjacency_iterator.hpp>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment