sim: added missing include to mathexpr.hh
authorSergei Trofimov <sergei.trofimov@arm.com>
Tue, 7 Jun 2016 13:27:35 +0000 (14:27 +0100)
committerSergei Trofimov <sergei.trofimov@arm.com>
Tue, 7 Jun 2016 13:27:35 +0000 (14:27 +0100)
commit0257fdee9190a3935bc851e32c68465a8cb70a7d
tree68e95d4ed47e1a7332846d77fb0116a5c364c219
parent85997e66a08b71d701e5b41462d1cfd42660b0c7
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>
src/sim/mathexpr.hh