<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 18, 2013 at 4:57 PM, Juergen Ributzka <span dir="ltr"><<a href="mailto:juergen@apple.com" target="_blank" class="cremed">juergen@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":79a" style="overflow:hidden">[weak vtables] Remove a bunch of weak vtables<br>
<br>
This patch removes most of the trivial cases of weak vtables by pinning them to<br>
a single object file. The memory leaks in this version have been fixed. Thanks<br>
Alexey for pointing them out.</div></blockquote></div><br>I think this patch is wrong in a number of cases. Specifically when there is a class in a .cpp file, there is no need to have an out-of-line virtual method definition. Instead, the class should be placed in an anonymous namespace.</div>
</div>