When you see a light bulb next to a symbol in the editor, it indicates a potential problem or an improvement that CLion suggests for this piece of code. Click the light bulb or press &shortcut:ShowIntentionActions; and choose the most suitable quick-fix:

quick fixes