debugger: properly clone breakpoints

This commit is contained in:
hjk
2010-06-22 14:52:26 +02:00
parent cda5f5d69b
commit b01a622fa3
2 changed files with 21 additions and 21 deletions

View File

@@ -63,13 +63,13 @@ public:
bool isSimilarTo(const BreakpointData *needle) const;
bool conditionsMatch() const;
protected:
BreakpointData *clone() const;
// This copies only the static data.
BreakpointData(const BreakpointData &);
private:
// Intentionally unimplemented.
// Making it copyable is tricky because of the markers.
BreakpointData(const BreakpointData &);
void operator=(const BreakpointData &);
// Our owner