Patch - prohibited operations should not have implementations
From: Dmitry <wipedout_at_yandex.ru>
Date: Tue, 21 Dec 2010 11:21:35 +0300
Hey.
Many classes in TSVN are non-copyable by design. They have copy constructor and assignment operator private. Yeat some of them have those operations with empty implementation:
class Class:
this is dangerous - those implementations might be accidentially called from within the same class member functions and make the program malfunction.
Attached is an untested patch that addresses this. If it breaks the build it will mean that it is actually effective.
Best wishes.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
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.