Cycles: Fix constness for load_kernels in device_cpu.cpp
authorLukas Stockner <lukas.stockner@freenet.de>
Tue, 5 Dec 2017 23:00:18 +0000 (00:00 +0100)
committerLukas Stockner <lukas.stockner@freenet.de>
Tue, 5 Dec 2017 23:00:18 +0000 (00:00 +0100)
intern/cycles/device/device_cpu.cpp

index 2d28ccd2b49cde6715635abac2e0dbbff21cfa9e..e476c012de1011d7b235ad969e786fb5bd83f013 100644 (file)
@@ -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;