mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
fixing code that relied on implicit string construction
This commit is contained in:
parent
7d2020e4f9
commit
2fe691fa70
@ -830,7 +830,7 @@ nsLocalFile::CopySingleFile(nsIFile *sourceFile, nsIFile *destParent, const char
|
||||
// target.
|
||||
char* inFilePath;
|
||||
destParent->GetTarget(&inFilePath);
|
||||
nsCString destPath = inFilePath;
|
||||
nsCString destPath(inFilePath);
|
||||
nsMemory::Free(inFilePath);
|
||||
|
||||
destPath.Append("\\");
|
||||
|
Loading…
Reference in New Issue
Block a user