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);
|
||||
}
|
||||
|
|
|
@ -326,6 +326,10 @@ void NORETURN_PRE unknownKeyError(long signed key) NORETURN_POST;
|
|||
template<>
|
||||
void NORETURN_PRE unknownKeyError(long unsigned key) NORETURN_POST;
|
||||
template<>
|
||||
void NORETURN_PRE unknownKeyError(signed int key) NORETURN_POST;
|
||||
template<>
|
||||
void NORETURN_PRE unknownKeyError(unsigned int key) NORETURN_POST;
|
||||
template<>
|
||||
void NORETURN_PRE unknownKeyError(long long signed key) NORETURN_POST;
|
||||
template<>
|
||||
void NORETURN_PRE unknownKeyError(long long unsigned key) NORETURN_POST;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue