From 375607d9969896c894fa2642ce4a0b8b519a2adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 2 Sep 2017 15:34:07 +0200 Subject: Use QString and QVector instead of std ones and more --- qtmips_machine/instructions/shift.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qtmips_machine/instructions/shift.cpp') diff --git a/qtmips_machine/instructions/shift.cpp b/qtmips_machine/instructions/shift.cpp index a8c6e41..34bc1c9 100644 --- a/qtmips_machine/instructions/shift.cpp +++ b/qtmips_machine/instructions/shift.cpp @@ -5,8 +5,8 @@ InstructionShift::InstructionShift(enum InstructionShiftT type, std::uint8_t rt, this->type = type; } -std::vector InstructionShift::to_strs() { - std::vector str = this->InstructionR::to_strs(); +QVector InstructionShift::to_strs() { + QVector str = this->InstructionR::to_strs(); str.erase(str.begin() + 1); // Drop rs field switch (this->type) { case IST_LL: @@ -30,8 +30,8 @@ InstructionShiftVariable::InstructionShiftVariable(enum InstructionShiftT type, this->type = type; } -std::vector InstructionShiftVariable::to_strs() { - std::vector str = this->InstructionR::to_strs(); +QVector InstructionShiftVariable::to_strs() { + QVector str = this->InstructionR::to_strs(); str.erase(str.begin() + 4); // Drop sa field switch (this->type) { case IST_LL: -- cgit v1.2.3