From d55c86ccd81c2e32d6e29e7501f96c40b6c123d4 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 26 Nov 2021 11:43:58 +1000 Subject: [PATCH] HostInterface: Fix Linux build --- src/core/host_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/host_interface.h b/src/core/host_interface.h index 6af55504e..361167319 100644 --- a/src/core/host_interface.h +++ b/src/core/host_interface.h @@ -74,7 +74,7 @@ public: virtual void AddKeyedOSDMessage(std::string key, std::string message, float duration = 2.0f) = 0; virtual void RemoveKeyedOSDMessage(std::string key) = 0; void AddFormattedOSDMessage(float duration, const char* format, ...) printflike(3, 4); - void AddKeyedFormattedOSDMessage(std::string key, float duration, const char* format, ...) printflike(3, 4); + void AddKeyedFormattedOSDMessage(std::string key, float duration, const char* format, ...) printflike(4, 5); /// Returns the base user directory path. ALWAYS_INLINE const std::string& GetUserDirectory() const { return m_user_directory; }