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:
Andreas Hansson 2013-02-14 12:24:51 -05:00
parent 1962e9262d
commit 7c6bc52bf5

View file

@ -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