[PATCH] Fix compile warnings with friend inside template

This is the second piece of the separation of the previously submitted patch. Notes for this piece (copied from previous email):

The change is to avoid the gcc warning -Wno-non-template-friend that friend declarations inside template classes must be declared as templates: http://stackoverflow.com/questions/4039817/friend-declaration-declares-a-non-template-function

Compiled and passed lldb tests on Linux Ubuntu 12.04 and gcc 4.8.2.


patch-warnings-template.txt (1.24 KB)