Permalink
Browse files

Save reference to arch-specific ExpressionFunctionMap instead of copying

  • Loading branch information...
sp1187 committed Jan 14, 2018
1 parent 9c7c679 commit 79aad352a9139d7aff47550379b380716eb2f37c
Showing with 1 addition and 1 deletion.
  1. +1 −1 Core/Expression.cpp
@@ -541,7 +541,7 @@ ExpressionValue ExpressionInternal::executeFunctionCall()
auto it = expressionFunctions.find(strValue);
if (it == expressionFunctions.end())
{
auto archExpressionFunctions = Arch->getExpressionFunctions();
auto& archExpressionFunctions = Arch->getExpressionFunctions();
it = archExpressionFunctions.find(strValue);
if (it == archExpressionFunctions.end())
{

0 comments on commit 79aad35

Please sign in to comment.