]> git.sesse.net Git - cubemap/blobdiff - log.cpp
Remove std:: from all code in .cpp files, for consistency.
[cubemap] / log.cpp
diff --git a/log.cpp b/log.cpp
index d481cc43496a3ab962b6f7c19239bcaf471c21b7..409639fed7fa02e913b7024db82c6a92a8ca9f3a 100644 (file)
--- a/log.cpp
+++ b/log.cpp
@@ -5,6 +5,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <syslog.h>
 #include <stdio.h>
 #include <string.h>
 #include <syslog.h>
+#include <time.h>
 #include <string>
 #include <vector>
 
 #include <string>
 #include <vector>
 
@@ -16,9 +17,9 @@ using namespace std;
 #define SYSLOG_FAKE_FILE (static_cast<FILE *>(NULL))
 
 bool logging_started = false;
 #define SYSLOG_FAKE_FILE (static_cast<FILE *>(NULL))
 
 bool logging_started = false;
-std::vector<FILE *> log_destinations;
+vector<FILE *> 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) {
 {
        FILE *fp = fopen(filename.c_str(), "a");
        if (fp == NULL) {