Workaround an issue with VC2010

This commit is contained in:
vitaut 2015-07-08 07:36:36 -07:00
parent 6484a15ca0
commit b6c1c9233a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);