Differences From Artifact [b794b10a09]:
- File src/exceptions/OFMemoryNotPartOfObjectException.m — part of check-in [e40729d406] at 2013-02-12 18:22:15 on branch trunk — Prefix all ivars with an underscore. (user: js, size: 1600) [annotate] [blame] [check-ins using]
To Artifact [59ada58b51]:
- File
src/exceptions/OFMemoryNotPartOfObjectException.m
— part of check-in
[d9ddc4d06e]
at
2013-02-13 23:10:35
on branch trunk
— Don't cache the description of exceptions.
This was pretty pointless, as it's usually only used once. (user: js, size: 1513) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
49 50 51 52 53 54 55 | _pointer = pointer; return self; } - (OFString*)description { | < < | < < < | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | _pointer = pointer; return self; } - (OFString*)description { return [OFString stringWithFormat: @"Memory at %p was not allocated as part of object of class %@, " @"thus the memory allocation was not changed! It is also possible " @"that there was an attempt to free the same memory twice.", _pointer, _inClass]; } - (void*)pointer { return _pointer; } @end |