mirror of
https://github.com/360NENZ/Taiga74164-Akebi-GC.git
synced 2025-09-20 04:36:05 +08:00
Fixed compilation issues with C++20
This commit is contained in:
@ -203,7 +203,8 @@ namespace cheat::feature
|
||||
for (auto entity : entities) {
|
||||
auto entityPos = entity->absolutePosition();
|
||||
std::string baseString = csvFriendly ? "{},{},{},{},{},{}" : "{} {} {} x={} y={} z={}";
|
||||
auto entityDetails = fmt::format(baseString,
|
||||
auto entityDetails = fmt::format(
|
||||
fmt::runtime(baseString),
|
||||
fmt::ptr(entity),
|
||||
entity->runtimeID(),
|
||||
entity->name().c_str(),
|
||||
@ -222,7 +223,8 @@ namespace cheat::feature
|
||||
std::string baseString = csvFriendly ? "{},{},{},{},{},{}" : "{} {} {} x={} y={} z={}";
|
||||
if (csvFriendly && includeHeaders)
|
||||
baseString = headerString.append(baseString);
|
||||
auto entityDetails = fmt::format(baseString,
|
||||
auto entityDetails = fmt::format(
|
||||
fmt::runtime(baseString),
|
||||
fmt::ptr(entity),
|
||||
entity->runtimeID(),
|
||||
entity->name().c_str(),
|
||||
|
Reference in New Issue
Block a user