mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-04-20 12:05:42 +00:00
Fix some things
This commit is contained in:
parent
c96f40944f
commit
de73fc6fd9
@ -146,7 +146,7 @@ private:
|
|||||||
HWND get_window() { return *reinterpret_cast<HWND*>(0x5A86330); }
|
HWND get_window() { return *reinterpret_cast<HWND*>(0x5A86330); }
|
||||||
|
|
||||||
void print(std::string_view fmt, std::format_args&& args,
|
void print(std::string_view fmt, std::format_args&& args,
|
||||||
const std::source_location& loc) {
|
[[maybe_unused]] const std::source_location& loc) {
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
const auto msg = std::vformat(fmt, args);
|
const auto msg = std::vformat(fmt, args);
|
||||||
const auto line = std::format("Debug:\n {}\nFile: {}\nLine: {}\n",
|
const auto line = std::format("Debug:\n {}\nFile: {}\nLine: {}\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user