[webkit-dev] ~RegExp declaration

Darin Adler darin at apple.com
Mon Aug 23 17:04:34 PDT 2010


On Aug 23, 2010, at 2:59 AM, haithem rahmani wrote:

> Can anyone explain to me why  the declaration/impmentation of the "~RegExp()" are being protected by  "#if !ENABLE(YARR)" ?

When YARR is enabled, the C++ language’s default destructor does the right thing, so there is no need to explicitly declare a destructor.

    -- Darin



More information about the webkit-dev mailing list