mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
impr: Cleanup main
This commit is contained in:
@@ -18,10 +18,8 @@ namespace hex {
|
||||
|
||||
template<typename... Args>
|
||||
inline void println(std::string_view format, Args... args) {
|
||||
if constexpr (requires { fmt::println(fmt::runtime(format), args...); })
|
||||
fmt::println(fmt::runtime(format), args...);
|
||||
else
|
||||
fmt::print(fmt::runtime(format), args...);
|
||||
fmt::print(fmt::runtime(format), args...);
|
||||
fmt::print("\n");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user