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/jumpbranch.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/jumpbranch.cpp')
-rw-r--r-- | qtmips_machine/instructions/jumpbranch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtmips_machine/instructions/jumpbranch.cpp b/qtmips_machine/instructions/jumpbranch.cpp index 2ede399..6579c2b 100644 --- a/qtmips_machine/instructions/jumpbranch.cpp +++ b/qtmips_machine/instructions/jumpbranch.cpp @@ -5,8 +5,8 @@ InstructionJump::InstructionJump(bool link, std::uint32_t address) this->link = link; } -std::vector<std::string> InstructionJump::to_strs() { - std::vector<std::string> str = this->InstructionJ::to_strs(); +QVector<QString> InstructionJump::to_strs() { + QVector<QString> str = this->InstructionJ::to_strs(); if (link) str[0] = "j"; else @@ -19,8 +19,8 @@ InstructionJumpRegister::InstructionJumpRegister(bool link, std::uint8_t rs) this->link = link; } -std::vector<std::string> InstructionJumpRegister::to_strs() { - std::vector<std::string> str = this->InstructionR::to_strs(); +QVector<QString> InstructionJumpRegister::to_strs() { + QVector<QString> str = this->InstructionR::to_strs(); str.erase(str.begin() + 2, str.end()); // Drop every field after rs if (link) str[0] = "j"; |