Fix gcc 4 build by disabling assertion on private data. gcc 3.3 doesn't care. No bug. Camino only. r=smfr

This commit is contained in:
mark%moxienet.com 2005-07-15 00:02:15 +00:00
Родитель 104b50eaf6
Коммит a37336d17d
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -2156,7 +2156,11 @@ nsChildView::Idle()
- (void)dealloc
{
#if __GNUC__ < 4
// _savePort is @private and there's no other way to access it.
// gcc 3.3 doesn't care.
NS_ASSERTION(!_savePort || IsValidPort(_savePort), "Bad port");
#endif
[super dealloc]; // This sets the current port to _savePort (which should be
// a valid port, checked with the assertion above.