make_format_args ?
This commit is contained in:
parent
da9b2b415b
commit
5ac6b8cd19
@ -23,12 +23,12 @@ namespace Components
|
|||||||
|
|
||||||
static void Print(const std::string_view& fmt)
|
static void Print(const std::string_view& fmt)
|
||||||
{
|
{
|
||||||
PrintInternal(Game::CON_CHANNEL_DONT_FILTER, fmt, std::make_format_args(0));
|
PrintInternal(Game::CON_CHANNEL_DONT_FILTER, fmt, std::make_format_args());
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Print(Game::conChannel_t channel, const std::string_view& fmt)
|
static void Print(Game::conChannel_t channel, const std::string_view& fmt)
|
||||||
{
|
{
|
||||||
PrintInternal(channel, fmt, std::make_format_args(0));
|
PrintInternal(channel, fmt, std::make_format_args());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
@ -47,7 +47,7 @@ namespace Components
|
|||||||
|
|
||||||
static void Error(Game::errorParm_t error, const std::string_view& fmt)
|
static void Error(Game::errorParm_t error, const std::string_view& fmt)
|
||||||
{
|
{
|
||||||
ErrorInternal(error, fmt, std::make_format_args(0));
|
ErrorInternal(error, fmt, std::make_format_args());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
@ -59,7 +59,7 @@ namespace Components
|
|||||||
|
|
||||||
static void Warning(Game::conChannel_t channel, const std::string_view& fmt)
|
static void Warning(Game::conChannel_t channel, const std::string_view& fmt)
|
||||||
{
|
{
|
||||||
WarningInternal(channel, fmt, std::make_format_args(0));
|
WarningInternal(channel, fmt, std::make_format_args());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
@ -71,7 +71,7 @@ namespace Components
|
|||||||
|
|
||||||
static void PrintError(Game::conChannel_t channel, const std::string_view& fmt)
|
static void PrintError(Game::conChannel_t channel, const std::string_view& fmt)
|
||||||
{
|
{
|
||||||
PrintErrorInternal(channel, fmt, std::make_format_args(0));
|
PrintErrorInternal(channel, fmt, std::make_format_args());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
|
Loading…
Reference in New Issue
Block a user