From a40b921cb517a9fdb021f936acc24a30ac26a1bb Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 May 2019 11:51:42 -0400 Subject: [PATCH] emit_x64: Remove unnecessary typename in GetBasicBlock() This can be deduced from the name alone. --- src/backend/x64/emit_x64.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/x64/emit_x64.cpp b/src/backend/x64/emit_x64.cpp index 709023d5..2b3032eb 100644 --- a/src/backend/x64/emit_x64.cpp +++ b/src/backend/x64/emit_x64.cpp @@ -38,10 +38,11 @@ EmitX64::EmitX64(BlockOfCode& code) EmitX64::~EmitX64() = default; -std::optional EmitX64::GetBasicBlock(IR::LocationDescriptor descriptor) const { +std::optional EmitX64::GetBasicBlock(IR::LocationDescriptor descriptor) const { auto iter = block_descriptors.find(descriptor); - if (iter == block_descriptors.end()) + if (iter == block_descriptors.end()) { return std::nullopt; + } return iter->second; }