sot-core icon indicating copy to clipboard operation
sot-core copied to clipboard

Fixing warning types involved by size_type and long ambiguity.

Open olivier-stasse opened this issue 1 year ago • 1 comments

This PR fixes the problem that dynamic_graph::size_type is equal to long. However when trying to cast long to a Value the compiler complains that this is ambiguous. This PR tries to fix this.

olivier-stasse avatar Oct 27 '23 19:10 olivier-stasse

Why don't you simply define typedef std::int64_t size_type ?

florent-lamiraux avatar Oct 30 '23 07:10 florent-lamiraux