This commit is contained in:
Shyotl
2014-11-22 22:20:32 -06:00
130 changed files with 2810 additions and 2321 deletions

View File

@@ -108,7 +108,7 @@ namespace {
mFile.close();
}
bool okay() { return mFile; }
bool okay() { return !!mFile; }
virtual bool wantsTime() { return true; }

View File

@@ -67,7 +67,7 @@ public:
LLEventPumpOrPumpName() {}
operator LLEventPump& () const { return *mPump; }
LLEventPump& getPump() const { return *mPump; }
operator bool() const { return mPump; }
operator bool() const { return !!mPump; }
bool operator!() const { return ! mPump; }
private: