1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes.

This commit is contained in:
Julian Storer 2010-11-29 12:24:55 +00:00
parent 1629f9f66a
commit a5cf4030f5
374 changed files with 2064 additions and 3331 deletions

View file

@ -215,7 +215,6 @@ public:
return columnComponents [owner.getHeader().getIndexOfColumnId (columnId, true)];
}
juce_UseDebuggingNewOperator
private:
TableListBox& owner;
@ -223,8 +222,7 @@ private:
int row;
bool isSelected, isDragging, selectRowOnMouseUp;
TableListRowComp (const TableListRowComp&);
TableListRowComp& operator= (const TableListRowComp&);
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TableListRowComp);
};
@ -259,15 +257,12 @@ public:
}
}
juce_UseDebuggingNewOperator
private:
TableListBox& owner;
enum { autoSizeColumnId = 0xf836743, autoSizeAllId = 0xf836744 };
TableListBoxHeader (const TableListBoxHeader&);
TableListBoxHeader& operator= (const TableListBoxHeader&);
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TableListBoxHeader);
};
//==============================================================================