the condition looks broken. the method returns bool, but here you return size_t probably. And when size is zero one shall parse sfdp, not the other way around. maybe return (nor->info->size == 0)?