aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/machineconfig.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-05 16:29:58 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-05 16:30:23 +0100
commit799dcddc2420ce1450ac2bdd0d69bccf4a2f2e1f (patch)
treedd7591e0c6e5eaaf3e59fc047b6295310c72ee92 /qtmips_machine/machineconfig.cpp
parentfac2c49643ee5122fbeffaeaebbac48e69381bf3 (diff)
downloadqtmips-799dcddc2420ce1450ac2bdd0d69bccf4a2f2e1f.tar.gz
qtmips-799dcddc2420ce1450ac2bdd0d69bccf4a2f2e1f.tar.bz2
qtmips-799dcddc2420ce1450ac2bdd0d69bccf4a2f2e1f.zip
Copy machineconfig in QtMipsMachine
Diffstat (limited to 'qtmips_machine/machineconfig.cpp')
-rw-r--r--qtmips_machine/machineconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/machineconfig.cpp b/qtmips_machine/machineconfig.cpp
index 0947e22..cf8629c 100644
--- a/qtmips_machine/machineconfig.cpp
+++ b/qtmips_machine/machineconfig.cpp
@@ -9,7 +9,7 @@ MachineConfig::MachineConfig() {
elf_path = QString("");
}
-MachineConfig::MachineConfig(MachineConfig *cc) {
+MachineConfig::MachineConfig(const MachineConfig *cc) {
pipeline = cc->pipelined();
delayslot = cc->delay_slot();
cache_type = cc->cache();