[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Patch - wrong casts, no cleanup in destructor

From: Dmitry <wipedout_at_yandex.ru>
Date: Thu, 03 Feb 2011 10:40:39 +0300

Hey.

Attached is an untested patch that addresses:
- cleanup code in Release() method instead of in destructor - the destructor is called from Release() anyway
- C-style casts where static_casts would be safer (compiler will show an error if a cast is not possible in case of static_cast, but not in case of C-style cast)

Best wishes.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2702102

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-02-03 08:40:47 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.