Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Issue 2177653004: Fix std::string::assign invocation: pass string instead of char*. (Closed)

Created:
4 years, 5 months ago by krasin
Modified:
4 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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/5c1cf32985988682e68bb3d695009086a314eb39 Cr-Commit-Position: refs/heads/master@{#407302}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M net/tools/tld_cleanup/tld_cleanup_util.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (6 generated)
krasin1
Hi Pam, please, take a look at this one-line fix. It should help unblocking the ...
4 years, 5 months ago (2016-07-22 21:29:00 UTC) #4
Pam (message me for reviews)
On 2016/07/22 21:29:00, krasin1 wrote: > Hi Pam, > > please, take a look at ...
4 years, 5 months ago (2016-07-22 21:32:50 UTC) #5
krasin1
Thank you for the instant review!
4 years, 5 months ago (2016-07-22 21:34:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2177653004/1
4 years, 5 months ago (2016-07-22 21:34:44 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-22 23:43:25 UTC) #10
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 23:44:36 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5c1cf32985988682e68bb3d695009086a314eb39
Cr-Commit-Position: refs/heads/master@{#407302}

Powered by Google App Engine
This is Rietveld 408576698