error: binding reference of type 'XX' (aka 'char') to value of type 'XX' (aka 'const char') drops 'const' qualifier
mohabouje opened this issue · 3 comments
mohabouje commented
The static cast should be to a reference underlying object and not to a const reference.
strong_type/include/strong_type/strong_type.hpp
Line 1308 in 94315da
rollbear commented
Right! Will fix. Thank you!
rollbear commented
Are you in a hurry for a tag, or can I leave it as is, fixed on master?
mohabouje commented
No worries, I did fix it in a local fork. I will upgrade it once a new version with the fix is released.