64-bit/32-bit portability
This commit is contained in:
@@ -701,11 +701,6 @@ public:
|
|||||||
is_ >> *value;
|
is_ >> *value;
|
||||||
if (is_.fail()) throw PiPedalException("Invalid format.");
|
if (is_.fail()) throw PiPedalException("Invalid format.");
|
||||||
}
|
}
|
||||||
void read(int *value) {
|
|
||||||
skip_whitespace();
|
|
||||||
is_ >> *value;
|
|
||||||
if (is_.fail()) throw PiPedalException("Invalid format.");
|
|
||||||
}
|
|
||||||
void read(unsigned int*value)
|
void read(unsigned int*value)
|
||||||
{
|
{
|
||||||
is_ >> *value;
|
is_ >> *value;
|
||||||
|
|||||||
Reference in New Issue
Block a user