mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-03 19:30:47 +02:00
Workaround an issue with VC2010
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ std::string get_system_error(int error_code) {
|
||||
#endif
|
||||
}
|
||||
|
||||
const char FILE_CONTENT[] = "Don't panic!";
|
||||
const char *FILE_CONTENT = "Don't panic!";
|
||||
|
||||
fmt::BufferedFile open_buffered_file(FILE **fp) {
|
||||
fmt::File read_end, write_end;
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ void increment(char *s);
|
||||
|
||||
std::string get_system_error(int error_code);
|
||||
|
||||
extern const char FILE_CONTENT[];
|
||||
extern const char *FILE_CONTENT;
|
||||
|
||||
// Opens a buffered file for reading.
|
||||
fmt::BufferedFile open_buffered_file(FILE **fp = 0);
|
||||
|
||||
Reference in New Issue
Block a user