mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-08 16:10:05 +01:00
emit_x64: Remove unnecessary typename in GetBasicBlock()
This can be deduced from the name alone.
This commit is contained in:
parent
675f67e41d
commit
a40b921cb5
@ -38,10 +38,11 @@ EmitX64::EmitX64(BlockOfCode& code)
|
|||||||
|
|
||||||
EmitX64::~EmitX64() = default;
|
EmitX64::~EmitX64() = default;
|
||||||
|
|
||||||
std::optional<typename EmitX64::BlockDescriptor> EmitX64::GetBasicBlock(IR::LocationDescriptor descriptor) const {
|
std::optional<EmitX64::BlockDescriptor> EmitX64::GetBasicBlock(IR::LocationDescriptor descriptor) const {
|
||||||
auto iter = block_descriptors.find(descriptor);
|
auto iter = block_descriptors.find(descriptor);
|
||||||
if (iter == block_descriptors.end())
|
if (iter == block_descriptors.end()) {
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
|
}
|
||||||
return iter->second;
|
return iter->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user