const to non-const
Hi forum,
I am using a third-party API function that returns a const reference as follows:
|
const compute::buffer& getReadBuffer() const;
|
But i need to make changes to the buffer . How do i do it ?
Any explanation ?
Thanks
Topic archived. No new replies allowed.