From 799dcddc2420ce1450ac2bdd0d69bccf4a2f2e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 5 Jan 2018 16:29:58 +0100 Subject: Copy machineconfig in QtMipsMachine --- qtmips_machine/machineconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_machine/machineconfig.cpp') 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(); -- cgit v1.2.3