revert forgotten use of auto

from c++11, wanna stick with c++98 for now
Merge pull request #37 from breznak/use_c++98

revert forgotten use of auto