0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::spirit: Replace boost::function with std::function for indirect call optimizations.

This commit is contained in:
Jason Volk 2020-09-05 22:58:38 -07:00
parent 992970bcd9
commit ad155e169d

View file

@ -39,6 +39,17 @@
#include <boost/function.hpp>
#pragma GCC visibility push (internal)
namespace boost::spirit::qi
{
using std::function;
}
namespace boost::spirit::karma
{
using std::function;
}
#include <boost/fusion/sequence.hpp>
#include <boost/fusion/iterator.hpp>
#include <boost/fusion/adapted.hpp>
@ -50,8 +61,8 @@
#include <boost/spirit/include/phoenix.hpp>
#include <boost/spirit/repository/include/qi_seek.hpp>
#include <boost/spirit/repository/include/qi_subrule.hpp>
#pragma GCC visibility pop
#pragma GCC visibility pop
#pragma clang attribute pop
#pragma clang attribute pop