mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 13:13:53 +00:00
fix
This commit is contained in:
parent
a275f1a2e0
commit
c4b644ecf8
@ -250,7 +250,7 @@ void readArgument(std::vector<Argument> &args, DecodeState &dec,
|
|||||||
ArgumentValue value;
|
ArgumentValue value;
|
||||||
switch (ty) {
|
switch (ty) {
|
||||||
case 0:
|
case 0:
|
||||||
value = (Unit){};
|
value = Unit{};
|
||||||
break;
|
break;
|
||||||
case 1: {
|
case 1: {
|
||||||
int32_t i = header >> 32;
|
int32_t i = header >> 32;
|
||||||
@ -324,7 +324,7 @@ double argumentToNumber(Argument const &arg) {
|
|||||||
} else if (std::holds_alternative<uint64_t>(arg.value)) {
|
} else if (std::holds_alternative<uint64_t>(arg.value)) {
|
||||||
return static_cast<double>(std::get<uint64_t>(arg.value));
|
return static_cast<double>(std::get<uint64_t>(arg.value));
|
||||||
} else {
|
} else {
|
||||||
assert(false);
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user