diff options
author | Karel Kočí <cynerd@email.cz> | 2017-09-02 15:34:07 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-09-02 15:34:07 +0200 |
commit | 375607d9969896c894fa2642ce4a0b8b519a2adb (patch) | |
tree | cb947a843d85f1cd278da15cff432c849986166c /qtmips_machine/instructions/shift.cpp | |
parent | 82884b3ef726889f837542d2b5e98e2cd8246c00 (diff) | |
download | qtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.tar.gz qtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.tar.bz2 qtmips-375607d9969896c894fa2642ce4a0b8b519a2adb.zip |
Use QString and QVector instead of std ones and more
Diffstat (limited to 'qtmips_machine/instructions/shift.cpp')
-rw-r--r-- | qtmips_machine/instructions/shift.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<std::string> InstructionShift::to_strs() { - std::vector<std::string> str = this->InstructionR::to_strs(); +QVector<QString> InstructionShift::to_strs() { + QVector<QString> 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<std::string> InstructionShiftVariable::to_strs() { - std::vector<std::string> str = this->InstructionR::to_strs(); +QVector<QString> InstructionShiftVariable::to_strs() { + QVector<QString> str = this->InstructionR::to_strs(); str.erase(str.begin() + 4); // Drop sa field switch (this->type) { case IST_LL: |