mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 981607 - Ensure that Log may handle both long and long long. r=botond
This commit is contained in:
parent
87ab491c2e
commit
06a0248478
@ -110,10 +110,12 @@ public:
|
||||
Log &operator <<(const std::string &aLogText) { mMessage << aLogText; return *this; }
|
||||
Log &operator <<(const char aStr[]) { mMessage << static_cast<const char*>(aStr); return *this; }
|
||||
Log &operator <<(bool aBool) { mMessage << (aBool ? "true" : "false"); return *this; }
|
||||
Log &operator <<(int32_t aInt) { mMessage << aInt; return *this; }
|
||||
Log &operator <<(uint32_t aInt) { mMessage << aInt; return *this; }
|
||||
Log &operator <<(int64_t aLong) { mMessage << aLong; return *this; }
|
||||
Log &operator <<(uint64_t aLong) { mMessage << aLong; return *this; }
|
||||
Log &operator <<(int aInt) { mMessage << aInt; return *this; }
|
||||
Log &operator <<(unsigned int aInt) { mMessage << aInt; return *this; }
|
||||
Log &operator <<(long aLong) { mMessage << aLong; return *this; }
|
||||
Log &operator <<(unsigned long aLong) { mMessage << aLong; return *this; }
|
||||
Log &operator <<(long long aLong) { mMessage << aLong; return *this; }
|
||||
Log &operator <<(unsigned long long aLong) { mMessage << aLong; return *this; }
|
||||
Log &operator <<(Float aFloat) { mMessage << aFloat; return *this; }
|
||||
Log &operator <<(double aDouble) { mMessage << aDouble; return *this; }
|
||||
template <typename T, typename Sub>
|
||||
|
Loading…
x
Reference in New Issue
Block a user