Author: davide Date: Thu Dec 7 10:06:06 2017 New Revision: 320067 URL: http://llvm.org/viewvc/llvm-project?rev=320067&view=rev Log: [SBBreakpointOptionCommon] Give this class an explicit destructor.
Modified: lldb/trunk/source/API/SBBreakpointOptionCommon.cpp lldb/trunk/source/API/SBBreakpointOptionCommon.h Modified: lldb/trunk/source/API/SBBreakpointOptionCommon.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBBreakpointOptionCommon.cpp?rev=320067&r1=320066&r2=320067&view=diff ============================================================================== --- lldb/trunk/source/API/SBBreakpointOptionCommon.cpp (original) +++ lldb/trunk/source/API/SBBreakpointOptionCommon.cpp Thu Dec 7 10:06:06 2017 @@ -82,3 +82,4 @@ SBBreakpointCallbackBaton::SBBreakpointC return true; // Return true if we should stop at this breakpoint } +SBBreakpointCallbackBaton::~SBBreakpointCallbackBaton() = default; Modified: lldb/trunk/source/API/SBBreakpointOptionCommon.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBBreakpointOptionCommon.h?rev=320067&r1=320066&r2=320067&view=diff ============================================================================== --- lldb/trunk/source/API/SBBreakpointOptionCommon.h (original) +++ lldb/trunk/source/API/SBBreakpointOptionCommon.h Thu Dec 7 10:06:06 2017 @@ -25,6 +25,8 @@ public: SBBreakpointCallbackBaton(SBBreakpointHitCallback callback, void *baton); + ~SBBreakpointCallbackBaton(); + static bool PrivateBreakpointHitCallback(void *baton, lldb_private::StoppointCallbackContext *ctx, lldb::user_id_t break_id, _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits