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:
parent
1962e9262d
commit
7c6bc52bf5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue