line ending fix
This commit is contained in:
parent
8009546872
commit
94a807d428
|
@ -58,7 +58,7 @@ char *U16ToHexStr(uint16 a);
|
||||||
std::string stditoa(int n);
|
std::string stditoa(int n);
|
||||||
|
|
||||||
//extracts a decimal uint from an istream
|
//extracts a decimal uint from an istream
|
||||||
template<typename T> T templateIntegerDecFromIstream(std::istream* is)
|
template<typename T> T templateIntegerDecFromIstream(std::istream* is)
|
||||||
{
|
{
|
||||||
unsigned int ret = 0;
|
unsigned int ret = 0;
|
||||||
bool pre = true;
|
bool pre = true;
|
||||||
|
@ -81,7 +81,7 @@ template<typename T> T templateIntegerDecFromIstream(std::istream* is)
|
||||||
is->unget();
|
is->unget();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline uint32 uint32DecFromIstream(std::istream* is) { return templateIntegerDecFromIstream<uint32>(is); }
|
inline uint32 uint32DecFromIstream(std::istream* is) { return templateIntegerDecFromIstream<uint32>(is); }
|
||||||
inline uint64 uint64DecFromIstream(std::istream* is) { return templateIntegerDecFromIstream<uint64>(is); }
|
inline uint64 uint64DecFromIstream(std::istream* is) { return templateIntegerDecFromIstream<uint64>(is); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue