fixup! Address some compiler warnings.
This commit is contained in:
parent
49ad2b72a1
commit
f887785990
@ -74,7 +74,6 @@ public:
|
|||||||
TInfoSinkBase& operator<<(const char* s) { append(s); return *this; }
|
TInfoSinkBase& operator<<(const char* s) { append(s); return *this; }
|
||||||
TInfoSinkBase& operator<<(int n) { append(String(n)); return *this; }
|
TInfoSinkBase& operator<<(int n) { append(String(n)); return *this; }
|
||||||
TInfoSinkBase& operator<<(unsigned int n) { append(String(n)); return *this; }
|
TInfoSinkBase& operator<<(unsigned int n) { append(String(n)); return *this; }
|
||||||
TInfoSinkBase& operator<<(long unsigned int n) { append(String((int)n)); return *this; }
|
|
||||||
TInfoSinkBase& operator<<(float n) { const int size = 40; char buf[size];
|
TInfoSinkBase& operator<<(float n) { const int size = 40; char buf[size];
|
||||||
snprintf(buf, size, (fabs(n) > 1e-8 && fabs(n) < 1e8) || n == 0.0f ? "%f" : "%g", n);
|
snprintf(buf, size, (fabs(n) > 1e-8 && fabs(n) < 1e8) || n == 0.0f ? "%f" : "%g", n);
|
||||||
append(buf);
|
append(buf);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user