Skip to content

Commit 49d9523

Browse files
committed
fix(Logger): not selecting correct formatting library
1 parent 2586237 commit 49d9523

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/AsyncLogger/Logger.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
2-
#ifndef USE_FMT
2+
#if !defined(USE_FMT) && CXX_FORMAT_SUPPORT
33
#include <format>
44
#define FORMAT std::format
55
#define VFORMAT std::vformat
@@ -73,4 +73,4 @@ namespace al
7373
auto capture = LogCapture(level, std::move(formatString.Location()));
7474
capture << VFORMAT(formatString.FormatString(), MAKE_FORMAT_ARGS(std::forward<Args>(formatArgs)...));
7575
}
76-
}
76+
}

0 commit comments

Comments
 (0)