Skip to content
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

ParamValueList enhancements #2527

Merged
merged 1 commit into from Mar 25, 2020
Merged

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Mar 24, 2020

  • New find_pv() method wraps find() but returns a pointer rather than
    an iterator, and nullptr if the attribute is not found.

  • Fix add_or_replace() -- it was previously failing to "replace" if the
    new attribute had a different type than the existing one.

* New `find_pv()` method wraps `find()` but returns a pointer rather than
  an iterator, and nullptr if the attribute is not found.

* Fix `add_or_replace()` -- it was previously failing to "replace" if the
  new attribute had a different type than the existing one.
@lgritz lgritz merged commit 5bcc3e1 into AcademySoftwareFoundation:master Mar 25, 2020
@lgritz lgritz deleted the lg-pvl branch March 25, 2020 18:58
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Mar 30, 2020
* New `find_pv()` method wraps `find()` but returns a pointer rather than
  an iterator, and nullptr if the attribute is not found.

* Fix `add_or_replace()` -- it was previously failing to "replace" if the
  new attribute had a different type than the existing one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant