Skip to content

Conversation

@sdkrystian
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Feb 15, 2020

Codecov Report

Merging #42 into develop will increase coverage by 0.88%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #42      +/-   ##
===========================================
+ Coverage     98.2%   99.09%   +0.88%     
===========================================
  Files           57       57              
  Lines         4856     4854       -2     
===========================================
+ Hits          4769     4810      +41     
+ Misses          87       44      -43
Impacted Files Coverage Δ
include/boost/json/string.hpp 100% <ø> (ø) ⬆️
include/boost/json/detail/impl/string_impl.ipp 99.01% <100%> (+21.18%) ⬆️

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 b2fef3d...5d1a185. Read the comment docs.

@sdkrystian sdkrystian force-pushed the develop branch 7 times, most recently from f9c9212 to 2217fdf Compare February 19, 2020 23:45
const bool inside = detail::ptr_in_range(curr_data, curr_data + curr_size, s);
// there is nothing to replace; return
if (inside && s - curr_data == pos && n1 == n2)
if (inside && std::size_t(s - curr_data) == pos && n1 == n2)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please use static_cast so it sticks out?

Copy link
Member Author

@sdkrystian sdkrystian Feb 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, this has been addressed

@vinniefalco
Copy link
Member

Merged, thanks

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.

2 participants