diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-09-19 12:20:51 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-09-19 12:20:51 +0100 |
commit | dc9acaa99b9e6b3553f64b362cd22f32e961d3dc (patch) | |
tree | 3bc222ed4f244f571335014c953f17367654cd81 /gcc/tree-vect-loop-manip.c | |
parent | 3c5af60836eed835b818f2a87480155a497139a4 (diff) | |
download | gcc-dc9acaa99b9e6b3553f64b362cd22f32e961d3dc.zip gcc-dc9acaa99b9e6b3553f64b362cd22f32e961d3dc.tar.gz gcc-dc9acaa99b9e6b3553f64b362cd22f32e961d3dc.tar.bz2 |
Don't use __glibcxx_assert to check class invariants
Assertions should be used to check preconditions that users must meet,
not to check whether the implementation is correct.
* include/bits/regex_automaton.tcc (_StateSeq<_TraitsT>::_M_clone()):
Remove __glibcxx_assert statements and use map::find instead of
map::operator[].
From-SVN: r264422
Diffstat (limited to 'gcc/tree-vect-loop-manip.c')
0 files changed, 0 insertions, 0 deletions