Fix osx compile.

This commit is contained in:
Relintai 2024-11-16 10:46:53 +01:00
parent 642db98328
commit f4917d1ec4

View File

@ -1942,7 +1942,7 @@ String OS_OSX::get_name() const {
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101200 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 101200
class OSXTerminalLogger : public StdLogger { class OSXTerminalLogger : public StdLogger {
public: public:
virtual void log_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, ErrorType p_type = ERR_ERROR, bool p_force) { virtual void log_error(const char *p_function, const char *p_file, int p_line, const char *p_code, const char *p_rationale, ErrorType p_type = ERR_ERROR, bool p_force = false) {
if (!p_force && !should_log(true)) { if (!p_force && !should_log(true)) {
return; return;
} }