Skip to content

Commit

Permalink
Remove enum warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Feb 25, 2016
1 parent 2a69279 commit 1be4fcc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jsoncons/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2109,6 +2109,8 @@ class basic_json
case value_types::array_t:
var_.value_.array_value_->resize(n);
break;
default:
break;
}
}

Expand All @@ -2120,6 +2122,8 @@ class basic_json
case value_types::array_t:
var_.value_.array_value_->resize(n, val);
break;
default:
break;
}
}

Expand Down
6 changes: 6 additions & 0 deletions src/jsoncons_ext/csv/csv_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ class basic_csv_parser : private basic_parsing_context<CharT>
case modes::object:
handler_->begin_object(*this);
break;
default:
break;
}
}
}
Expand Down Expand Up @@ -235,6 +237,8 @@ class basic_csv_parser : private basic_parsing_context<CharT>
}
}
break;
default:
break;
}
column_index_ = 0;
}
Expand Down Expand Up @@ -468,6 +472,8 @@ class basic_csv_parser : private basic_parsing_context<CharT>
after_field();
}
break;
default:
break;
}
if (column_index_ > 0)
{
Expand Down

0 comments on commit 1be4fcc

Please sign in to comment.