Commit 705331f
committed
fix: handle reset() return in ColorConfig constructor
OIIO_NODISCARD_ERROR added to ColorConfig::reset() in color.h requires
updating ColorConfig constructor to use the return value.
Add a cast (void) to explicitly discard the return from reset().
The error still remains queryable via has_error().
Signed-off-by: Luna Kim <177369799+luna-y-kim@users.noreply.github.com>1 parent 583a325 commit 705331f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
810 | | - | |
| 810 | + | |
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| |||
0 commit comments