Ruby: Fix compilation errors on gcc 4.7 and clang 3.2
This patch fixes a few (recently added) errors that prevented gem5 from compiling on more recent versions of gcc and clang.
This commit is contained in:
@@ -39,10 +39,10 @@ struct MachineID
|
||||
{
|
||||
MachineType type;
|
||||
//! range: 0 ... number of this machine's components in system - 1
|
||||
uint32_t num;
|
||||
NodeID num;
|
||||
|
||||
MachineType getType() const { return type; }
|
||||
uint32_t getNum() const { return num; }
|
||||
NodeID getNum() const { return num; }
|
||||
};
|
||||
|
||||
inline std::string
|
||||
|
||||
Reference in New Issue
Block a user