Chromium Code Reviews
Descriptionnet/url_util: fix std::string::assign invocation: pass string instead of char*.
According to the C++ standard, the three arguments overload
of std::string::assign accepts an std::basic_string:
http://en.cppreference.com/w/cpp/string/basic_string/assign
Fixing the usage, where char* instead of std::string was passed.
This popped up after libc++ became more standard compliant,
and now it throws a compiler error.
BUG=630681
Committed: https://crrev.com/8f2bd296ae050bb16ea552d38375d9fc6760d518
Cr-Commit-Position: refs/heads/master@{#407599}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|
|||||||||||||||||||