From ae81a6fcadbddd9534592b6b80a95488d701e508 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 5 Jun 2018 11:24:43 +0200
Subject: [PATCH] Fix compilation error with bytecode DLL

---
 src/CodeInterpreter.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CodeInterpreter.hh b/src/CodeInterpreter.hh
index bbaeb147..c876648c 100644
--- a/src/CodeInterpreter.hh
+++ b/src/CodeInterpreter.hh
@@ -1954,7 +1954,7 @@ public:
               code = fbegin_block->load(code);
 
               begin_block.push_back(tags_liste.size());
-              tags_liste.emplace_back(FBEGINBLOCK, fbegin_block));
+              tags_liste.emplace_back(FBEGINBLOCK, fbegin_block);
               nb_blocks++;
             }
             break;
@@ -1981,7 +1981,7 @@ public:
 
               code = fcall->load(code);
 
-              tags_liste.emplace_back(FCALL, fcall));
+              tags_liste.emplace_back(FCALL, fcall);
 # ifdef DEBUGL
               mexPrintf("FCALL finish\n"); mexEvalString("drawnow;");
               mexPrintf("-- *code=%d\n", *code); mexEvalString("drawnow;");
-- 
GitLab