Please leave out the braces and you can also inline the sprites getting:

            foreach (SpriteReference *sprite, info->sprites(mGender))
                mSpriteList->addSprite(SLOT_EQUIPMENT + slot, sprite);