Skip to content
Snippets Groups Projects
Commit 694fe9cf authored by Rider Linden's avatar Rider Linden
Browse files

explicit not available for conversion operators in Linux yet

parent de438e75
No related branches found
No related tags found
No related merge requests found
...@@ -271,7 +271,7 @@ class LLCheckedHandle: public LLCheckedHandleBase ...@@ -271,7 +271,7 @@ class LLCheckedHandle: public LLCheckedHandleBase
* Converts the LLCheckedHandle to a bool. Allows for if (chkdHandle) {} * Converts the LLCheckedHandle to a bool. Allows for if (chkdHandle) {}
* Does not throw. * Does not throw.
*/ */
explicit operator bool() const /*explicit*/ operator bool() const // explicit conversion operator not available with Linux compiler
{ {
return (mHandle.get() != NULL); return (mHandle.get() != NULL);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment