Control: tags -1 patch

Hi Maintainer

Please find attached patch which avoids a FTBFS with recent toolchain.

As noted in #744112, this version of cura-engine is rather old.

Regards
Graham

--- a/utils/logoutput.cpp
+++ b/utils/logoutput.cpp
@@ -15,7 +15,7 @@
     fflush(stdout);
 }
 
-void _log(const char* fmt, ...)
+void log(const char* fmt, ...)
 {
     if (verbose_level < 1)
         return;
--- a/utils/logoutput.h
+++ b/utils/logoutput.h
@@ -5,8 +5,7 @@
 extern int verbose_level;
 
 void logError(const char* fmt, ...);
-void _log(const char* fmt, ...);
-#define log _log
+void log(const char* fmt, ...);
 void logProgress(const char* type, int value, int maxValue);
 
 #endif//LOGOUTPUT_H

Reply via email to