Remove std:: from all code in .cpp files, for consistency.
[cubemap] / log.cpp
diff --git a/log.cpp b/log.cpp
index d481cc4..409639f 100644 (file)
--- a/log.cpp
+++ b/log.cpp
@@ -5,6 +5,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <syslog.h>
+#include <time.h>
 #include <string>
 #include <vector>
 
@@ -16,9 +17,9 @@ using namespace std;
 #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) {