Skip to content

Commit

Permalink
Fix gcc compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Nov 17, 2023
1 parent ad94df2 commit 80b6614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ext/yuni/src/yuni/core/logs/handler/file.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ void File<NextHandler>::internalDecoratorWriteWL(LoggerT& logger, const AnyStrin
{
if (pFile.opened())
{
using DecoratorsType = typename LoggerT::DecoratorsType;
// Append the message to the file
logger.DecoratorsType::template internalDecoratorAddPrefix<File, VerbosityType>(pFile, s);

Expand Down
2 changes: 1 addition & 1 deletion src/ext/yuni/src/yuni/core/logs/handler/stdcout.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ class YUNI_DECL StdCout : public NextHandler
colorsAllowed = YUNI_LOGS_COLORS_ALLOWED,
};

public:
template<class LoggerT, class VerbosityType>
void internalDecoratorWriteWL(LoggerT& logger, const AnyString& s) const
{
using DecoratorsType = typename LoggerT::DecoratorsType;
// Write the message to the std::cout/cerr
if (VerbosityType::shouldUsesStdCerr)
{
Expand Down

0 comments on commit 80b6614

Please sign in to comment.