Enable -Wshadow and silence warnings

This commit is contained in:
ReinUsesLisp
2019-11-27 05:46:03 -03:00
parent 22cc6f6c1b
commit e1a6729df7
7 changed files with 10 additions and 9 deletions

View File

@@ -16,8 +16,8 @@
namespace Sirit {
Op::Op(spv::Op opcode, std::optional<u32> id, Id result_type)
: Operand{OperandType::Op}, opcode(opcode), result_type(result_type), id(id) {}
Op::Op(spv::Op opcode_, std::optional<u32> id_, Id result_type_)
: Operand{OperandType::Op}, opcode{opcode_}, result_type{result_type_}, id{id_} {}
Op::~Op() = default;