repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1879449 [wpt PR 44489] - [wptrunner] Add `infrastructure/expected-fail/` test...
[gecko.git]
/
tools
/
clang-tidy
/
test
/
readability-redundant-string-cstr.cpp
blob
d35a2998e5b50afb70af4b708d8e0bf951cdfcd8
1
#include
"structures.h"
2
3
void
foo
() {
4
std
::
string a
=
"Mozilla"
;
5
std
::
string tmp
;
6
tmp
.
assign
(
a
.
c_str
());
7
}