fixed compilation issue with idle friend function not being declared before usage by template function
fixed compilation issue with idle friend function not being declared before usage by template function

ksophocleous/levlib,tempbottle/levlib,tempbottle/levlib