Add a missing const.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 3 Nov 2012 17:22:15 +0000 (18:22 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 3 Nov 2012 17:22:15 +0000 (18:22 +0100)
white_balance_effect.cpp

index 8a00af4..d2e380a 100644 (file)
@@ -39,7 +39,7 @@ Vector3d convert_color_temperature_to_xyz(float T)
 }
 
 // Assuming sRGB primaries, from Wikipedia.
 }
 
 // Assuming sRGB primaries, from Wikipedia.
-double rgb_to_xyz_matrix[9] = {
+const double rgb_to_xyz_matrix[9] = {
        0.4124, 0.2126, 0.0193, 
        0.3576, 0.7152, 0.1192,
        0.1805, 0.0722, 0.9505,
        0.4124, 0.2126, 0.0193, 
        0.3576, 0.7152, 0.1192,
        0.1805, 0.0722, 0.9505,