COMMON: Correctly specialize unknownKeyError for int.
This commit is contained in:
parent
f8facede40
commit
6b2bf785a4
2 changed files with 14 additions and 0 deletions
|
@ -81,6 +81,16 @@ template<> void unknownKeyError(long unsigned key) {
|
|||
error("Unknown key \"%lu\"", key);
|
||||
}
|
||||
|
||||
template<>
|
||||
void unknownKeyError(signed int key) {
|
||||
error("Unknown key \"%i\"", key);
|
||||
}
|
||||
|
||||
template<>
|
||||
void unknownKeyError(unsigned int key) {
|
||||
error("Unknown key \"%u\"", key);
|
||||
}
|
||||
|
||||
template<> void unknownKeyError(long long signed key) {
|
||||
error("Unknown key \"%lli\"", key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue