Skip to content
Snippets Groups Projects
Commit 6d03a238 authored by Gerhard Raven's avatar Gerhard Raven
Browse files

Fix usage of bit_cast

* the second template argument (the 'source' type) should be deduced by
  the compiler. Only the first 'target' one should be specified.
* specifying the second argument effectively introduces another
  static_cast from the actual argument type to the now specified
  argument type -- which could trigger unwanted conversions in case
  there is a mismatch.
parent 1c86ec0c
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment