diff options
| author | Alin Rus <[email protected]> | 2018-01-11 21:40:51 +0100 |
|---|---|---|
| committer | Alin Rus <[email protected]> | 2018-01-11 21:40:51 +0100 |
| commit | a73aab7cd8343d795b1a7408bd71f522262ac76e (patch) | |
| tree | 3e269a8f345cdd4ae3de43b277a11255295aa2ca /src/httpserver.cpp | |
| parent | Merge #12133: [qa] Fix rare failure in p2p-segwit.py (diff) | |
| download | discoin-a73aab7cd8343d795b1a7408bd71f522262ac76e.tar.xz discoin-a73aab7cd8343d795b1a7408bd71f522262ac76e.zip | |
Use the character based overload for std::string::find.
std::string::find has a character based overload as can be seen here
(4th oveload): http://www.cplusplus.com/reference/string/string/find/
Use that instead of constantly allocating temporary strings.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions