diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-06-21 14:23:58 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-06-21 14:23:58 -0400 |
commit | 18c83be50702e27ef092a3c7630514b364f60aa0 (patch) | |
tree | c5726b05e1dd47063be80ec6b002c2401cb75e7c /src | |
parent | 1434b8694319047ba7f35cc6c1a9c965ccba3f22 (diff) | |
download | gem5-18c83be50702e27ef092a3c7630514b364f60aa0.tar.xz |
SimObject: Add in missing includes of <string> and fix minor style problem.
Diffstat (limited to 'src')
-rw-r--r-- | src/sim/sim_object.hh | 5 | ||||
-rw-r--r-- | src/sim/sim_object_params.hh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh index ec565ce82..00bb3fee6 100644 --- a/src/sim/sim_object.hh +++ b/src/sim/sim_object.hh @@ -36,10 +36,11 @@ #ifndef __SIM_OBJECT_HH__ #define __SIM_OBJECT_HH__ -#include <map> +#include <iostream> #include <list> +#include <map> +#include <string> #include <vector> -#include <iostream> #include "params/SimObject.hh" #include "sim/serialize.hh" diff --git a/src/sim/sim_object_params.hh b/src/sim/sim_object_params.hh index 4179a37bf..5a629a949 100644 --- a/src/sim/sim_object_params.hh +++ b/src/sim/sim_object_params.hh @@ -36,6 +36,8 @@ struct PyObject; #endif +#include <string> + struct SimObjectParams { virtual ~SimObjectParams() {} |