checkpointing: fix minor bug
Somehow we now need to explicitly specialize on 'signed char' and not just 'char' to catch cases like int8_t
This commit is contained in:
parent
cbd65e95db
commit
820bb3044d
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ showParam(ostream &os, const T &value)
|
||||||
// Treat 8-bit ints (chars) as ints on output, not as chars
|
// Treat 8-bit ints (chars) as ints on output, not as chars
|
||||||
template <>
|
template <>
|
||||||
void
|
void
|
||||||
showParam(ostream &os, const char &value)
|
showParam(ostream &os, const signed char &value)
|
||||||
{
|
{
|
||||||
os << (int)value;
|
os << (int)value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue