lodle/Desurium — pull request #368 by karolherbst (2012-11-29 14:30:28+00:00)
Title: common: use template paramters in AutoDeleteLocal

we have to add this to be more c++ standard compliant.

also fixes compile errors on mingw