Skip to content

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented Sep 25, 2025

This pull request includes two main changes:

  1. Replaces deprecated foreach and Q_FOREACH macros with C++11 range-based for loops as recommended by Qt 5.7+.
  2. Improves const correctness by using const references in range-based for loops and other relevant places.

@jcfr jcfr force-pushed the replace-deprecated-macros-and-improve-const-correctness branch from c4779e1 to 111c4eb Compare September 26, 2025 05:39
hjmjohnson and others added 2 commits September 26, 2025 01:44
As of Qt 5.7, `foreach` and `Q_FOREACH` macros are deprecated, and
C++11 range-based for loops are preferred.

Co-authored-by: Jean-Christophe Fillion-Robin <[email protected]>
This change improves const correctness by using `const` references
in range-based for loops and other relevant places.
@jcfr jcfr force-pushed the replace-deprecated-macros-and-improve-const-correctness branch from 111c4eb to 5e2be3f Compare September 26, 2025 05:44
@mrbean-bremen mrbean-bremen merged commit 20abb24 into MeVisLab:master Sep 26, 2025
17 checks passed
@jcfr jcfr deleted the replace-deprecated-macros-and-improve-const-correctness branch September 26, 2025 19:47
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.

4 participants