Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Warnings Modernize Use of auto #96

Conversation

franziska-wegner
Copy link
Owner

@franziska-wegner franziska-wegner commented Jan 5, 2024

Apply modernize use of auto in TestPowerGrid.cpp and TestGraph.cpp. The use of auto is preferred when initializing with a cast to avoid duplicating the type name.

Screenshot 2024-01-05 at 10 55 16 AM Screenshot 2024-01-05 at 10 55 43 AM

Why:
* use auto when initializing with a cast to avoid duplicating the type name
Why:
* use auto when initializing with a cast to avoid duplicating the type name
@franziska-wegner franziska-wegner self-assigned this Jan 5, 2024
@franziska-wegner franziska-wegner added the enhancement New feature or request label Jan 5, 2024
Copy link

codecov bot commented Jan 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c83e2cd) 94.57% compared to head (063a80d) 94.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #96   +/-   ##
=======================================
  Coverage   94.57%   94.57%           
=======================================
  Files          55       55           
  Lines        5050     5050           
=======================================
  Hits         4776     4776           
  Misses        274      274           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@franziska-wegner franziska-wegner merged commit 7688fc3 into main Jan 5, 2024
17 checks passed
@franziska-wegner franziska-wegner deleted the franziska-wegner/2024/january/remove-warnings-modernize-use-01 branch January 5, 2024 20:27
github-actions bot added a commit that referenced this pull request Jan 5, 2024
* Modernize use of auto in TestPowerGrid.cpp
  * Why:
    * use auto when initializing with a cast to avoid duplicating the type name
* Modernize use of auto in TestGraph.cpp
  * Why:
    * use auto when initializing with a cast to avoid duplicating the type name 7688fc3
github-actions bot added a commit that referenced this pull request Jan 5, 2024
* Modernize use of auto in TestPowerGrid.cpp
  * Why:
    * use auto when initializing with a cast to avoid duplicating the type name
* Modernize use of auto in TestGraph.cpp
  * Why:
    * use auto when initializing with a cast to avoid duplicating the type name 7688fc3
github-actions bot added a commit that referenced this pull request Jan 5, 2024
* Modernize use of auto in TestPowerGrid.cpp
  * Why:
    * use auto when initializing with a cast to avoid duplicating the type name
* Modernize use of auto in TestGraph.cpp
  * Why:
    * use auto when initializing with a cast to avoid duplicating the type name 7688fc3
github-actions bot added a commit that referenced this pull request Jan 5, 2024
* Modernize use of auto in TestPowerGrid.cpp
  * Why:
    * use auto when initializing with a cast to avoid duplicating the type name
* Modernize use of auto in TestGraph.cpp
  * Why:
    * use auto when initializing with a cast to avoid duplicating the type name 7688fc3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

1 participant