mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 03:29:00 +00:00
[C++20] Enable C++20 + Fixes + FMT 9.1 (#2664)
* [CPP] Enable and build compliance with cpp20 * Windows build fix * bump fmt version * Updated fmt to 9.1, updated cmake minimum and verified preprocessor stuff works. * Missing : * Fix warning: top-level comma expression in array subscript is deprecated * Fix warning: top-level comma expression in array subscript is deprecated Co-authored-by: KimLS <KimLS@peqtgc.com>
This commit is contained in:
+10
-10
@@ -42,7 +42,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
std::string export_string = fmt::format(
|
||||
"{} {} {}",
|
||||
position1.x,
|
||||
@@ -71,7 +71,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
std::string export_string = fmt::format(
|
||||
"{} {} {}",
|
||||
position1.x,
|
||||
@@ -97,7 +97,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
}
|
||||
break;
|
||||
case MQWarpKnockBack:
|
||||
@@ -115,7 +115,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -135,7 +135,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -155,7 +155,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
}
|
||||
break;
|
||||
case MQZoneUnknownDest:
|
||||
@@ -173,7 +173,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
}
|
||||
break;
|
||||
case MQGate:
|
||||
@@ -191,7 +191,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
}
|
||||
break;
|
||||
case MQGhost:
|
||||
@@ -228,7 +228,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
@@ -244,7 +244,7 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
|
||||
message.c_str(),
|
||||
zone->GetShortName()
|
||||
);
|
||||
LogCheat(message);
|
||||
LogCheat(fmt::runtime(message));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user