macOS build fix
This commit is contained in:
parent
d69b414094
commit
87777ad27c
|
@ -103,8 +103,8 @@ class FTermcap final
|
|||
static char* getString (const CharT&);
|
||||
template<typename CharT>
|
||||
static char* encodeMotionParameter (const CharT&, int, int);
|
||||
template<typename... Args>
|
||||
static char* encodeParameter (Args&&...);
|
||||
template<typename CharT, typename... Args>
|
||||
static char* encodeParameter (const CharT&, Args&&...);
|
||||
template<typename CharT>
|
||||
static int paddingPrint (const CharT&, int, fn_putc);
|
||||
|
||||
|
@ -178,10 +178,10 @@ char* FTermcap::encodeMotionParameter (const CharT& cap, int col, int row)
|
|||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
template<typename... Args>
|
||||
inline char* FTermcap::encodeParameter (Args&&... args)
|
||||
template<typename CharT, typename... Args>
|
||||
inline char* FTermcap::encodeParameter (const CharT& cap, Args&&... args)
|
||||
{
|
||||
return tparm (std::forward<Args>(args)...);
|
||||
return tparm (C_STR(cap), std::forward<Args>(args)...);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue