ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.04k stars 371 forks source link

Rename successor to avoid shadowing #881

Closed senceryazici closed 2 months ago

senceryazici commented 2 months ago

Some of the constructors in message_router.h are using arguments named successor, resulting in following warning/error message:

etl/message_router.h:296:5: error: declaration of ‘successor’ shadows a member of ‘etl::message_producer’

This PR renames arguments to successor_ to prevent shadowing.

semanticdiff-com[bot] commented 2 months ago

Review changes with SemanticDiff.

jwellbelove commented 2 months ago

Thanks for the PR, but this has already been addressed in commit 77513730e09b742a2fc9ad5ecb0ebb7b78b54a7f in response to issue #823

This change will be released soon.