Skip to content

Improve/visit#979

Merged
grisumbras merged 3 commits intoboostorg:developfrom
grisumbras:improve/visit
Feb 8, 2024
Merged

Improve/visit#979
grisumbras merged 3 commits intoboostorg:developfrom
grisumbras:improve/visit

Conversation

@grisumbras
Copy link
Copy Markdown
Member

Fix #952

1. Fix references in return type
2. Pass nullptr to the visitor with the same value category as the argument.
    This is done for uniformity.
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ed3a618) 93.06% compared to head (b031e0d) 93.08%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #979      +/-   ##
===========================================
+ Coverage    93.06%   93.08%   +0.01%     
===========================================
  Files           87       87              
  Lines         8107     8122      +15     
===========================================
+ Hits          7545     7560      +15     
  Misses         562      562              
Files Coverage Δ
include/boost/json/impl/visit.hpp 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

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

@cppalliance-bot
Copy link
Copy Markdown

@grisumbras grisumbras merged commit b031e0d into boostorg:develop Feb 8, 2024
@grisumbras grisumbras deleted the improve/visit branch February 8, 2024 08:19
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.

visit() should not pass prvalues to its callable

2 participants