summaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.cpp b/src/log.cpp
index ecc54aea..d9eb0bda 100644
--- a/src/log.cpp
+++ b/src/log.cpp
@@ -79,7 +79,7 @@ void log(const char *category, const char *log_text, ...) {
* Log an error and quit. The error will pop-up in Windows and will be printed
* to standard error everywhere else.
*/
-void error(const string error_text) {
+void error(const std::string error_text) {
log("Error", error_text.c_str());
#ifdef WIN32