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/loadstore.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qtmips_machine/instructions/loadstore.cpp') diff --git a/qtmips_machine/instructions/loadstore.cpp b/qtmips_machine/instructions/loadstore.cpp index c83eae4..27c6402 100644 --- a/qtmips_machine/instructions/loadstore.cpp +++ b/qtmips_machine/instructions/loadstore.cpp @@ -5,8 +5,8 @@ InstructionLoad::InstructionLoad(enum InstructionLoadStoreT type, std::uint8_t r this->type = type; } -std::vector InstructionLoad::to_strs() { - std::vector str = this->InstructionI::to_strs(); +QVector InstructionLoad::to_strs() { + QVector str = this->InstructionI::to_strs(); switch (this->type) { case ILST_B: str[0] = "lb"; @@ -41,8 +41,8 @@ InstructionStore::InstructionStore(enum InstructionLoadStoreT type, std::uint8_t this->type = type; } -std::vector InstructionStore::to_strs() { - std::vector str = this->InstructionI::to_strs(); +QVector InstructionStore::to_strs() { + QVector str = this->InstructionI::to_strs(); switch (this->type) { case ILST_B: str[0] = "sb"; -- cgit v1.2.3