Use "auto &" in range-based for-loop and remove the extra braces.