mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-29 15:56:19 +00:00
Remove unneeded "hex" method.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
9f404d46a4
commit
03975bd76b
@ -26,12 +26,3 @@ void Fuse::RegisterState::readInternal(std::ifstream& file) {
|
|||||||
file >> tstates;
|
file >> tstates;
|
||||||
file >> std::hex;
|
file >> std::hex;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Fuse::RegisterState::hex(int value) {
|
|
||||||
std::ostringstream output;
|
|
||||||
output << std::hex
|
|
||||||
<< std::setw(4)
|
|
||||||
<< std::setfill('0')
|
|
||||||
<< value;
|
|
||||||
return output.str();
|
|
||||||
}
|
|
@ -24,7 +24,5 @@ namespace Fuse {
|
|||||||
private:
|
private:
|
||||||
void readInternal(std::ifstream& file);
|
void readInternal(std::ifstream& file);
|
||||||
void readExternal(std::ifstream& file);
|
void readExternal(std::ifstream& file);
|
||||||
|
|
||||||
static std::string hex(int value);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user