use disassembler traits

This commit is contained in:
Kelvin Sherlock 2017-08-12 22:01:41 -04:00
parent 606747cba3
commit 348b97669b

View File

@ -7,8 +7,8 @@
static constexpr const int equ_type = (ST_EQU << 4) | S_ABS;
zrdz_disassembler::zrdz_disassembler(std::vector<section> &&sections, std::vector<symbol> &&symbols) :
_symbols(std::move(symbols))
zrdz_disassembler::zrdz_disassembler(std::vector<section> &&sections, std::vector<symbol> &&symbols) :
disassembler(wdc), _symbols(std::move(symbols))
{
// do not sort _symbols ... order matters for lookup by entry number.