Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 7, 2015, 2:42:14 PM (8 years ago)
Author:
landauf
Message:

made conversion to bool operators explicit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/util/SharedPtr.h

    r10769 r10770  
    311311
    312312            /// Returns true if the pointer is not nullptr.
    313             inline operator bool() const
     313            inline explicit operator bool() const
    314314            {
    315315                return (this->pointer_ != nullptr);
Note: See TracChangeset for help on using the changeset viewer.