1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +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

@ -626,9 +626,9 @@ static const unsigned char temp_356ba65f[] =
" void getStateInformation (MemoryBlock& destData);\r\n"
" void setStateInformation (const void* data, int sizeInBytes);\r\n"
"\r\n"
"private:\r\n"
" //==============================================================================\r\n"
" juce_UseDebuggingNewOperator\r\n"
"\r\n"
" JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FILTERCLASSNAME);\r\n"
"};\r\n"
"\r\n"
"#endif // HEADERGUARD\r\n";
@ -855,12 +855,9 @@ static const unsigned char temp_ae1b823a[] =
" implementation calls the superclass's method.\r\n"
" */\r\n"
"\r\n"
" //==============================================================================\r\n"
" juce_UseDebuggingNewOperator\r\n"
"\r\n"
"private:\r\n"
" WINDOWCLASS (const WINDOWCLASS&);\r\n"
" WINDOWCLASS& operator= (const WINDOWCLASS&);\r\n"
" //==============================================================================\r\n"
" JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WINDOWCLASS)\r\n"
"};\r\n"
"\r\n"
"\r\n"