-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CollectionBase::getBuffers
should be marked const
#302
Comments
For this the handling of the UserDataCollections would need to change. Any plans for that? |
There are effectively two options as I see it at the moment:
I am leaning towards the second here (although I think I have a branch somewhere for the first), simply because I don't want the mutex in there and, I think we still need a |
After having a look into this, I realized this will require quite a bit of work and we decided to address this only after a v1.0 release, since it is not really user visible in any case (or at least it shouldn't be). Currently we explicitly Lines 43 to 44 in ac26a12
Addressing this properly also requires changes in the |
Once the
Frame
is merged and usedCollectionBase::getBuffers
should be markedconst
as it will be required for writing from multiple threads. In principle it should be rather straight forward to do.This will only become possible once #287 is merged, because currently
getBuffers
is also used for reading and not only writing.The text was updated successfully, but these errors were encountered: