File: documentation

package info (click to toggle)
widelands 1%3A17-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 332,404 kB
  • sloc: cpp: 104,978; python: 3,073; ada: 855; sh: 435; makefile: 225
file content (1 line) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (2)
1
Do not call std::string::find_first_of or std::string::find with a string of characters to locate that has the size 1. Do not call std::string::find_first_of with a single character to find. Use the version of std::string::find that takes a single character to locate instead. Same for find_last_of/rfind.