Skip to content

Move template StructImpl into non-template StringMap.Impl to avoid te… #380

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

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

nordlow
Copy link
Contributor

@nordlow nordlow commented Dec 6, 2021

…mplate-bloat and to avoid the linker bug.

I just copied the StructImpl as is into StringMap.Impl and removed its template parameters and made it static private.

Note that GitHub's attempt at presenting the diff is useless.

If you want to double-check the diff manually I suggest you check it manually. But as I said I haven't made any changes to the members of StructImpl.

Ready now.

@nordlow nordlow force-pushed the avoid-StructImpl branch 3 times, most recently from 9c1e6a7 to dc66c16 Compare December 6, 2021 21:54
@nordlow
Copy link
Contributor Author

nordlow commented Dec 6, 2021

Ready now.

@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2021

Codecov Report

Merging #380 (dc66c16) into master (7cef4f7) will not change coverage.
The diff coverage is 91.07%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #380   +/-   ##
=======================================
  Coverage   93.04%   93.04%           
=======================================
  Files          65       65           
  Lines       15864    15864           
=======================================
  Hits        14760    14760           
  Misses       1104     1104           
Impacted Files Coverage Δ
source/mir/string_map.d 95.32% <91.07%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cef4f7...dc66c16. Read the comment docs.

@9il 9il merged commit c72c2d6 into libmir:master Dec 7, 2021
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.

3 participants