Skip to content

Commit 5e144df

Browse files
committed
I had done this as a subclass, but decided not to.
Remove the `virtual` marker I no longer need.
1 parent b060e19 commit 5e144df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/include/lldb/Breakpoint/BreakpointLocationCollection.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class BreakpointLocationCollection {
3030
/// not get destroyed.
3131
BreakpointLocationCollection(bool preserving = false);
3232

33-
virtual ~BreakpointLocationCollection();
33+
~BreakpointLocationCollection();
3434

3535
BreakpointLocationCollection &operator=(const BreakpointLocationCollection &rhs);
3636

@@ -39,7 +39,7 @@ class BreakpointLocationCollection {
3939
/// \param[in] bp_loc_sp
4040
/// Shared pointer to the breakpoint location that will get added
4141
/// to the list.
42-
virtual void Add(const lldb::BreakpointLocationSP &bp_loc_sp);
42+
void Add(const lldb::BreakpointLocationSP &bp_loc_sp);
4343

4444
/// Removes the breakpoint location given by \b breakID from this
4545
/// list.
@@ -52,7 +52,7 @@ class BreakpointLocationCollection {
5252
///
5353
/// \result
5454
/// \b true if the breakpoint was in the list.
55-
virtual bool Remove(lldb::break_id_t break_id, lldb::break_id_t break_loc_id);
55+
bool Remove(lldb::break_id_t break_id, lldb::break_id_t break_loc_id);
5656

5757
/// Returns a shared pointer to the breakpoint location with id \a
5858
/// breakID.

0 commit comments

Comments
 (0)