Mercurial > octave
view .hgsubstate @ 21497:2d71bb0011a0
textscan: Use empty () rather than 'length () == 0' on strings
* textscan.cc (textscan_format_list::textscan_format_list,
textscan_format_list::read_first_row, textscan::scan_one,
textscan::parse_options): Use empty () instead of checking length () for
clarity.
* textscan.h (textscan::is_delim, textscan::whitespace_delim): Likewise.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Fri, 18 Mar 2016 23:08:18 -0700 |
parents | 98ecd9dba90f |
children | 30bf9a4d467a |