X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=log.cpp;h=409639fed7fa02e913b7024db82c6a92a8ca9f3a;hp=b20a89f89b6f75678c3eb55f04c1e5362f231d1c;hb=b757a4a2ce9d24835b52a185134835762af2f50c;hpb=bfc1a54cf84bb1784c14bd4f5acbb500460e35b5 diff --git a/log.cpp b/log.cpp index b20a89f..409639f 100644 --- a/log.cpp +++ b/log.cpp @@ -17,9 +17,9 @@ using namespace std; #define SYSLOG_FAKE_FILE (static_cast(NULL)) bool logging_started = false; -std::vector log_destinations; +vector log_destinations; -void add_log_destination_file(const std::string &filename) +void add_log_destination_file(const string &filename) { FILE *fp = fopen(filename.c_str(), "a"); if (fp == NULL) {