This patch provides const variants to the cpu_data accessors that returns GSpan. This is done to better const correctness. Some code need non-const data even for read-only data, so we have to const cast those for the moment.
This patch provides const variants to the cpu_data accessors that returns GSpan. This is done to better const correctness. Some code need non-const data even for read-only data, so we have to const cast those for the moment.