Skip to content

Simplify NotifyOtherComponentsConfigOptionChanged - #14980

Open
SunBlack wants to merge 1 commit into
OSGeo:masterfrom
SunBlack:NotifyOtherComponentsConfigOptionChanged
Open

Simplify NotifyOtherComponentsConfigOptionChanged#14980
SunBlack wants to merge 1 commit into
OSGeo:masterfrom
SunBlack:NotifyOtherComponentsConfigOptionChanged

Conversation

@SunBlack

Copy link
Copy Markdown
Contributor

Small simplification of NotifyOtherComponentsConfigOptionChanged (came across this during debugging):

  • the empty check is not netecesary, as the loop is doing nothing in case the list is empty
  • use structured binding to increase readability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant