diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2017-12-06 02:00:18 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-12-06 02:00:18 +0300 |
commit | 2069102c568c671f3abf1bfe9b80bb0234703b74 (patch) | |
tree | c464107d0ccc177172a9a5f2ba1f87c26444588f /intern/cycles/device | |
parent | ee120d6293fefec25d762b069d813440f3e54ee5 (diff) |
Cycles: Fix constness for load_kernels in device_cpu.cpp
Diffstat (limited to 'intern/cycles/device')
-rw-r--r-- | intern/cycles/device/device_cpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp index 2d28ccd2b49..e476c012de1 100644 --- a/intern/cycles/device/device_cpu.cpp +++ b/intern/cycles/device/device_cpu.cpp @@ -918,7 +918,7 @@ protected: #endif } - virtual bool load_kernels(DeviceRequestedFeatures& requested_features_) { + virtual bool load_kernels(const DeviceRequestedFeatures& requested_features_) { requested_features = requested_features_; return true; |