emit_x64: Remove unnecessary typename in GetBasicBlock()

This can be deduced from the name alone.
This commit is contained in:
Lioncash 2019-05-03 11:51:42 -04:00 committed by MerryMage
parent 675f67e41d
commit a40b921cb5

View file

@ -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;
} }