diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-14 15:04:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-14 15:16:11 +0300 |
commit | 7ae3aa7b63136ea590004ae2ca765697bf0756bc (patch) | |
tree | 5331d4248429cec3c564c19be2e6e9386d2df0cd /intern/cycles/render/light.h | |
parent | d2195d9ef24a0c8f9098e4791cf18468ba805dba (diff) |
Cleanup: don't unnecessarily use ustring in IES file parsing
Diffstat (limited to 'intern/cycles/render/light.h')
-rw-r--r-- | intern/cycles/render/light.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/render/light.h b/intern/cycles/render/light.h index 79450ea5f8d..6dd23374818 100644 --- a/intern/cycles/render/light.h +++ b/intern/cycles/render/light.h @@ -92,8 +92,8 @@ class LightManager { ~LightManager(); /* IES texture management */ - int add_ies(ustring ies); - int add_ies_from_file(ustring filename); + int add_ies(const string &ies); + int add_ies_from_file(const string &filename); void remove_ies(int slot); void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress &progress); |