We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It does check for nullptr before doing this, but it could have been removed in the meantime.
This is probably the same for the other types.
The text was updated successfully, but these errors were encountered:
So
libadm/src/elements/audio_content.cpp
Lines 96 to 98 in 4703bdc
should be
{ auto parent = getParent().lock(); if(parent && parent->lookup(id)) { throw std::runtime_error("id already in use"); } }
?
Sorry, something went wrong.
Yeah, exactly. In practice it's fine in single-threaded code, but I have to think about it every time I see it.
No branches or pull requests
It does check for nullptr before doing this, but it could have been removed in the meantime.
This is probably the same for the other types.
The text was updated successfully, but these errors were encountered: