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

Fixed #1070. #1071

Merged
merged 1 commit into from
May 15, 2023
Merged

Fixed #1070. #1071

merged 1 commit into from
May 15, 2023

Conversation

redboltz
Copy link
Contributor

  • msgpack::type::variant behaves as MessagePack format. e.g.) 12.34 => double
    12.0 => uint64_t
    -12.34 => double
    -12.0 => int64_t
  • msgpack::type::variant::as_double() can be used even if interval type is
    int64_t and/or uint64_t.
  • msgpack::type::variant::as_*() don't return non const reference
    internal value.
  • fix coding style

- msgpack::type::variant behaves as MessagePack format.
  e.g.)
  12.34  => double
  12.0   => uint64_t
  -12.34 => double
  -12.0  => int64_t
- msgpack::type::variant::as_double() can be used even if interval type is
  int64_t and/or uint64_t.
- msgpack::type::variant::as_*() don't return non const reference
  internal value.
- fix coding style
@codecov-commenter
Copy link

Codecov Report

Merging #1071 (34f8fd6) into cpp_master (706fde4) will increase coverage by 0.02%.
The diff coverage is 95.45%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@              Coverage Diff               @@
##           cpp_master    #1071      +/-   ##
==============================================
+ Coverage       85.60%   85.63%   +0.02%     
==============================================
  Files              79       79              
  Lines            5023     5040      +17     
==============================================
+ Hits             4300     4316      +16     
- Misses            723      724       +1     

@redboltz redboltz merged commit ac062e2 into msgpack:cpp_master May 15, 2023
24 checks passed
@redboltz redboltz deleted the fix_1070 branch May 15, 2023 00:24
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.

None yet

2 participants