macOS build fix
This commit is contained in:
parent
d69b414094
commit
87777ad27c
|
@ -103,8 +103,8 @@ class FTermcap final
|
||||||
static char* getString (const CharT&);
|
static char* getString (const CharT&);
|
||||||
template<typename CharT>
|
template<typename CharT>
|
||||||
static char* encodeMotionParameter (const CharT&, int, int);
|
static char* encodeMotionParameter (const CharT&, int, int);
|
||||||
template<typename... Args>
|
template<typename CharT, typename... Args>
|
||||||
static char* encodeParameter (Args&&...);
|
static char* encodeParameter (const CharT&, Args&&...);
|
||||||
template<typename CharT>
|
template<typename CharT>
|
||||||
static int paddingPrint (const CharT&, int, fn_putc);
|
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>
|
template<typename CharT, typename... Args>
|
||||||
inline char* FTermcap::encodeParameter (Args&&... 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