Skip to content

Commit f0b6db5

Browse files
committed
Don't forward declare struct tst_pass_through
It is used later in find(), so complete type is needed. Include tst.hpp which defines it.
1 parent a00894d commit f0b6db5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/boost/spirit/home/qi/string/tst_map.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@
1111
#pragma once
1212
#endif
1313

14+
#include <boost/spirit/home/qi/string/tst.hpp>
1415
#include <boost/spirit/home/qi/string/detail/tst.hpp>
1516
#include <boost/unordered_map.hpp>
1617
#include <boost/pool/object_pool.hpp>
1718

1819
namespace boost { namespace spirit { namespace qi
1920
{
20-
struct tst_pass_through; // declared in tst.hpp
21-
2221
template <typename Char, typename T>
2322
struct tst_map
2423
{

0 commit comments

Comments
 (0)