Commit 42ee91bb authored by Mark Meredith's avatar Mark Meredith
Browse files

Fix warning

parent 93268ce0
Loading
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -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();
  }
@@ -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();
  }
@@ -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;
  }
};