use char const*

This commit is contained in:
artemp 2016-11-22 10:43:41 +01:00
parent 5834de9b1f
commit 20d6f84b3b

View file

@ -80,7 +80,7 @@ namespace grammar {
namespace x3 = boost::spirit::x3; namespace x3 = boost::spirit::x3;
using space_type = x3::standard::space_type; using space_type = x3::standard::space_type;
using iterator_type = std::string::const_iterator; using iterator_type = char const*;
using context_type = x3::with_context<keys_tag, using context_type = x3::with_context<keys_tag,
std::reference_wrapper<keys_map> const, std::reference_wrapper<keys_map> const,
x3::phrase_parse_context<space_type>::type>::type; x3::phrase_parse_context<space_type>::type>::type;