explicit not available for conversion operators in Linux yet
parent
de438e7512
commit
694fe9cfc5
|
|
@ -271,7 +271,7 @@ public:
|
|||
* Converts the LLCheckedHandle to a bool. Allows for if (chkdHandle) {}
|
||||
* Does not throw.
|
||||
*/
|
||||
explicit operator bool() const
|
||||
/*explicit*/ operator bool() const // explicit conversion operator not available with Linux compiler
|
||||
{
|
||||
return (mHandle.get() != NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue