SimObject: Add in missing includes of <string> and fix minor style problem.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 21 Jun 2008 18:23:58 +0000 (14:23 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 21 Jun 2008 18:23:58 +0000 (14:23 -0400)
src/sim/sim_object.hh
src/sim/sim_object_params.hh

index ec565ce82bdd3ad7d2f10b3fc9e0cd908d289040..00bb3fee61f225b1781f680fa160914e8d47b7cb 100644 (file)
 #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"
index 4179a37bfb88d2b75469bcb2ac22ff7ab82fb760..5a629a949c7631561f0cc23efeb7ba5232277a19 100644 (file)
@@ -36,6 +36,8 @@
 struct PyObject;
 #endif
 
+#include <string>
+
 struct SimObjectParams
 {
     virtual ~SimObjectParams() {}