1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-16 18:30:32 +00:00

Switch to const auto.

This commit is contained in:
Thomas Harte 2022-03-09 16:56:32 -05:00
parent bbf925a27e
commit c1cc4f96df

View File

@ -350,9 +350,7 @@ std::vector<typename InstructionSet::x86::Decoder<model>::InstructionT> decode(c
}
- (void)testJMP {
decltype(decode<Model::i80386>({0x00})) instructions;
instructions = decode<Model::i80386>({
const auto instructions = decode<Model::i80386>({
// JMP +0x00efcdab
0xe9, 0xab, 0xcd, 0xef, 0x00,
// JMP 0xc389:0x67452301