CStringRef -> cstring_view

This commit is contained in:
Victor Zverovich
2017-03-26 15:13:10 -07:00
parent 5aa8d6ea21
commit 12252152ac
10 changed files with 78 additions and 79 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ int (test::fileno)(FILE *stream) {
# define EXPECT_EQ_POSIX(expected, actual)
#endif
void write_file(fmt::CStringRef filename, fmt::string_view content) {
void write_file(fmt::cstring_view filename, fmt::string_view content) {
fmt::BufferedFile f(filename, "w");
f.print("{}", content);
}