mirror of
https://github.com/sendyne/cppreg.git
synced 2025-05-09 15:14:05 +00:00
FIX POWERPC COMPILATION ISSUE
For some reason compilers other than GCC PowerPC 4.5.8 were not complaining about the `use_shadow` being (re)defined outside the `Shadow` structure definition. This closes #2.
This commit is contained in:
parent
926eb71df2
commit
11734b0bf4
@ -43,8 +43,6 @@ namespace cppreg {
|
||||
};
|
||||
template <typename Register>
|
||||
typename Register::type Shadow<Register, true>::value = Register::reset;
|
||||
template <typename Register>
|
||||
const bool Shadow<Register, true>::use_shadow;
|
||||
|
||||
}
|
||||
|
||||
|
@ -134,8 +134,6 @@ namespace cppreg {
|
||||
};
|
||||
template <typename Register>
|
||||
typename Register::type Shadow<Register, true>::value = Register::reset;
|
||||
template <typename Register>
|
||||
const bool Shadow<Register, true>::use_shadow;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user