summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/OSSupport/File.h')
-rw-r--r--src/OSSupport/File.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/OSSupport/File.h b/src/OSSupport/File.h
index 59bb61974..0bb877186 100644
--- a/src/OSSupport/File.h
+++ b/src/OSSupport/File.h
@@ -163,8 +163,12 @@ public:
/** Returns the list of all items in the specified folder (files, folders, nix pipes, whatever's there). */
static AStringVector GetFolderContents(const AString & a_Folder); // Exported in ManualBindings.cpp
- int Printf(const char * a_Fmt, fmt::ArgList);
- FMT_VARIADIC(int, Printf, const char *)
+ int vPrintf(const char * a_Fmt, fmt::printf_args);
+ template <typename... Args>
+ int Printf(const char * a_Fmt, const Args & ... a_Args)
+ {
+ return vPrintf(a_Fmt, fmt::make_printf_args(a_Args...));
+ }
/** Flushes all the bufferef output into the file (only when writing) */
void Flush(void);