diff options
author | Sergei Trofimov <sergei.trofimov@arm.com> | 2016-06-07 14:27:35 +0100 |
---|---|---|
committer | Sergei Trofimov <sergei.trofimov@arm.com> | 2016-06-07 14:27:35 +0100 |
commit | 0257fdee9190a3935bc851e32c68465a8cb70a7d (patch) | |
tree | 68e95d4ed47e1a7332846d77fb0116a5c364c219 /src/dev/net/etherswitch.hh | |
parent | 85997e66a08b71d701e5b41462d1cfd42660b0c7 (diff) | |
download | gem5-0257fdee9190a3935bc851e32c68465a8cb70a7d.tar.xz |
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>
Diffstat (limited to 'src/dev/net/etherswitch.hh')
0 files changed, 0 insertions, 0 deletions