summaryrefslogtreecommitdiff
path: root/src/gtest-filepath.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtest-filepath.cc')
-rw-r--r--src/gtest-filepath.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtest-filepath.cc b/src/gtest-filepath.cc
index 4d40cb9..708389d 100644
--- a/src/gtest-filepath.cc
+++ b/src/gtest-filepath.cc
@@ -182,7 +182,7 @@ FilePath FilePath::MakeFileName(const FilePath& directory,
if (number == 0) {
file = base_name.string() + "." + extension;
} else {
- file = base_name.string() + "_" + String::Format("%d", number).c_str()
+ file = base_name.string() + "_" + StreamableToString(number)
+ "." + extension;
}
return ConcatPaths(directory, FilePath(file));