mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +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;
|
||||
switch (ty) {
|
||||
case 0:
|
||||
value = (Unit){};
|
||||
value = Unit{};
|
||||
break;
|
||||
case 1: {
|
||||
int32_t i = header >> 32;
|
||||
@ -324,7 +324,7 @@ double argumentToNumber(Argument const &arg) {
|
||||
} else if (std::holds_alternative<uint64_t>(arg.value)) {
|
||||
return static_cast<double>(std::get<uint64_t>(arg.value));
|
||||
} else {
|
||||
assert(false);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user