Skip to content
Snippets Groups Projects
Commit 1281543c authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: use string substr instead of string::operator()

- makes the purpose clearer.
  In some places, string::resize() is even simpler.

- use C++11 string::back() in preference to str[str.size()-1]
parent 822d20cb
Branches
Tags
1 merge request!128Consistent use of string methods
Showing
with 98 additions and 115 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment