1
0
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:
Nicolas Clauvelin 2018-02-22 17:02:59 -05:00
parent 926eb71df2
commit 11734b0bf4
2 changed files with 0 additions and 4 deletions

View File

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

View File

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