Commit 224bb72
committed
fix(oiiotool): handle reset() return in set_colorconfig
OIIO_NODISCARD_ERROR added to ColorConfig::reset() in color.h requires
updating set_colorconfig to use the return value.
Replaced the has_error() check with a direct check of bool return from reset().
Signed-off-by: Luna Kim <177369799+luna-y-kim@users.noreply.github.com>1 parent eec38ce commit 224bb72
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2325 | 2325 | | |
2326 | 2326 | | |
2327 | 2327 | | |
2328 | | - | |
2329 | | - | |
| 2328 | + | |
2330 | 2329 | | |
2331 | 2330 | | |
2332 | 2331 | | |
| |||
0 commit comments