mirror of
https://github.com/open-goal/jak-project
synced 2026-07-10 23:22:17 -04:00
Fix remaining cpp20 issues (#3375)
This commit is contained in:
@@ -166,7 +166,7 @@ struct VectorFloatTestCase_TwoOperand : VectorFloatTestCase {
|
||||
input1.setJson(data, "v1");
|
||||
input2.setJson(data, "v2");
|
||||
dest.setJson(data, "dest");
|
||||
data["operation"] = fmt::format(func);
|
||||
data["operation"] = fmt::format("{}", func);
|
||||
if (destinationMask == -1) {
|
||||
data["destinationMask"] = false;
|
||||
} else {
|
||||
@@ -301,7 +301,7 @@ struct VectorFloatTestCase_SingleOperand : VectorFloatTestCase {
|
||||
void setJson(nlohmann::json& data, std::string func) {
|
||||
input1.setJson(data, "v1");
|
||||
dest.setJson(data, "dest");
|
||||
data["operation"] = fmt::format(func);
|
||||
data["operation"] = fmt::format("{}", func);
|
||||
if (destinationMask == -1) {
|
||||
data["destinationMask"] = false;
|
||||
} else {
|
||||
@@ -377,7 +377,7 @@ struct VectorFloatTestCase_TwoOperandACC : VectorFloatTestCase {
|
||||
input2.setJson(data, "v2");
|
||||
acc.setJson(data, "acc");
|
||||
dest.setJson(data, "dest");
|
||||
data["operation"] = fmt::format(func);
|
||||
data["operation"] = fmt::format("{}", func);
|
||||
if (destinationMask == -1) {
|
||||
data["destinationMask"] = false;
|
||||
} else {
|
||||
@@ -473,7 +473,7 @@ struct VectorFloatTestCase_TwoOperandQuotient : VectorFloatTestCase {
|
||||
input1.setJson(data, "v1");
|
||||
input2.setJson(data, "v2");
|
||||
dest.setJson(data, "dest");
|
||||
data["operation"] = fmt::format(func);
|
||||
data["operation"] = fmt::format("{}", func);
|
||||
data["ftf"] = fmt::format("{:b}", ftf);
|
||||
data["fsf"] = fmt::format("{:b}", fsf);
|
||||
}
|
||||
@@ -542,7 +542,7 @@ struct VectorFloatTestCase_OneOperandQuotient : VectorFloatTestCase {
|
||||
void setJson(nlohmann::json& data, std::string func) {
|
||||
input1.setJson(data, "v1");
|
||||
dest.setJson(data, "dest");
|
||||
data["operation"] = fmt::format(func);
|
||||
data["operation"] = fmt::format("{}", func);
|
||||
data["ftf"] = fmt::format("{:b}", ftf);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user