Skip to content

Commit

Permalink
make_format_args ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Louvenarde committed Jun 15, 2024
1 parent da9b2b4 commit 5ac6b8c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Components/Modules/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ namespace Components

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)
{
PrintInternal(channel, fmt, std::make_format_args(0));
PrintInternal(channel, fmt, std::make_format_args());
}

template <typename... Args>
Expand All @@ -47,7 +47,7 @@ namespace Components

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>
Expand All @@ -59,7 +59,7 @@ namespace Components

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>
Expand All @@ -71,7 +71,7 @@ namespace Components

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>
Expand Down

0 comments on commit 5ac6b8c

Please sign in to comment.