Skip to content

Commit

Permalink
Don't forward declare struct tst_pass_through
Browse files Browse the repository at this point in the history
It is used later in find(), so complete type is needed.
Include tst.hpp which defines it.
  • Loading branch information
AMDmi3 committed Nov 16, 2015
1 parent a00894d commit f0b6db5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/boost/spirit/home/qi/string/tst_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@
#pragma once
#endif

#include <boost/spirit/home/qi/string/tst.hpp>
#include <boost/spirit/home/qi/string/detail/tst.hpp>
#include <boost/unordered_map.hpp>
#include <boost/pool/object_pool.hpp>

namespace boost { namespace spirit { namespace qi
{
struct tst_pass_through; // declared in tst.hpp

template <typename Char, typename T>
struct tst_map
{
Expand Down

0 comments on commit f0b6db5

Please sign in to comment.