diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-30 09:37:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-30 09:42:19 +0300 |
commit | 501d2443d03cce18985fab3ffad5d23238748f3e (patch) | |
tree | 1d127d4e4c6d82fc85feedc9826dd5619174e346 /source/blender/render/intern/render_result.c | |
parent | df9597cfba78deb40009553ab9dcf09c21edd434 (diff) |
Cleanup: use const arguments for accessor functions
Diffstat (limited to 'source/blender/render/intern/render_result.c')
-rw-r--r-- | source/blender/render/intern/render_result.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/render_result.c b/source/blender/render/intern/render_result.c index 83ed302ea46..70bd4f92512 100644 --- a/source/blender/render/intern/render_result.c +++ b/source/blender/render/intern/render_result.c @@ -804,9 +804,9 @@ void render_result_views_new(RenderResult *rr, const RenderData *rd) } } -bool render_result_has_views(RenderResult *rr) +bool render_result_has_views(const RenderResult *rr) { - RenderView *rv = rr->views.first; + const RenderView *rv = rr->views.first; return (rv && (rv->next || rv->name[0])); } |