mirror of
https://github.com/sendyne/cppreg.git
synced 2026-01-19 04:52:08 +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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user