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<double(std::string)> EvalCallback;

This commit adds the missing include.

Change-Id: I6c01d77d4354c6de838538f137a38f75f9866166
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
This commit is contained in:
Sergei Trofimov 2016-06-07 14:27:35 +01:00
parent 85997e66a0
commit 0257fdee91

View file

@ -41,6 +41,7 @@
#define __SIM_MATHEXPR_HH__ #define __SIM_MATHEXPR_HH__
#include <algorithm> #include <algorithm>
#include <functional>
#include <string> #include <string>
class MathExpr { class MathExpr {