Did you try it with just "void doPollOWM(owm) {" ?
You can take a quick look at mine if you want. Based in this thread.