From 0257fdee9190a3935bc851e32c68465a8cb70a7d Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Tue, 7 Jun 2016 14:27:35 +0100 Subject: [PATCH] sim: added missing include to mathexpr.hh mathexpr.hh uses std::function<> but was not including the appropriate header, which resulted in an error build/ARM/sim/mathexpr.hh:51:18: error: 'function' in namespace 'std' does not name a template type typedef std::function EvalCallback; This commit adds the missing include. Change-Id: I6c01d77d4354c6de838538f137a38f75f9866166 Reviewed-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris --- src/sim/mathexpr.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sim/mathexpr.hh b/src/sim/mathexpr.hh index d857fa512..6d04d2538 100644 --- a/src/sim/mathexpr.hh +++ b/src/sim/mathexpr.hh @@ -41,6 +41,7 @@ #define __SIM_MATHEXPR_HH__ #include +#include #include class MathExpr { -- 2.30.2