mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Avoid shadowing template parameter.
This commit is contained in:
parent
1676ed9850
commit
7323af0b41
@ -82,8 +82,8 @@ class Flags {
|
||||
using FlagT = uint32_t;
|
||||
|
||||
// Flag getters.
|
||||
template <Flag flag> bool flag() const {
|
||||
switch(flag) {
|
||||
template <Flag flag_v> bool flag() const {
|
||||
switch(flag_v) {
|
||||
case Flag::Carry: return carry_;
|
||||
case Flag::AuxiliaryCarry: return auxiliary_carry_;
|
||||
case Flag::Sign: return sign_;
|
||||
|
Loading…
Reference in New Issue
Block a user