mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-22 09:30:32 +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 >> 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:
|
||||
void readInternal(std::ifstream& file);
|
||||
void readExternal(std::ifstream& file);
|
||||
|
||||
static std::string hex(int value);
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user