Fixed problem with taking address of temporary [-fpermissive]