Loading src/parser.cpp +3 −5 Original line number Diff line number Diff line Loading @@ -109,8 +109,7 @@ template <> struct action<double_> { template <> struct action<num_array> { template <typename Input> static void apply(const Input &in, parser_state &st) { std::stringstream ss(in.string()); static void apply(parser_state &st) { st.current_value = st.current_num_vec; st.current_num_vec.clear(); } Loading @@ -118,8 +117,7 @@ template <> struct action<num_array> { template <> struct action<str_array> { template <typename Input> static void apply(const Input &in, parser_state &st) { std::stringstream ss(in.string()); static void apply(parser_state &st) { st.current_value = st.current_str_vec; st.current_str_vec.clear(); } Loading @@ -127,7 +125,7 @@ template <> struct action<str_array> { template <> struct action<keyval_line> { template <typename Input> static void apply(const Input &in, parser_state &st) { static void apply(parser_state &st) { st.info[st.current_key] = st.current_value; } }; Loading Loading
src/parser.cpp +3 −5 Original line number Diff line number Diff line Loading @@ -109,8 +109,7 @@ template <> struct action<double_> { template <> struct action<num_array> { template <typename Input> static void apply(const Input &in, parser_state &st) { std::stringstream ss(in.string()); static void apply(parser_state &st) { st.current_value = st.current_num_vec; st.current_num_vec.clear(); } Loading @@ -118,8 +117,7 @@ template <> struct action<num_array> { template <> struct action<str_array> { template <typename Input> static void apply(const Input &in, parser_state &st) { std::stringstream ss(in.string()); static void apply(parser_state &st) { st.current_value = st.current_str_vec; st.current_str_vec.clear(); } Loading @@ -127,7 +125,7 @@ template <> struct action<str_array> { template <> struct action<keyval_line> { template <typename Input> static void apply(const Input &in, parser_state &st) { static void apply(parser_state &st) { st.info[st.current_key] = st.current_value; } }; Loading