From: Steinar H. Gunderson Date: Sat, 3 Nov 2012 17:22:15 +0000 (+0100) Subject: Add a missing const. X-Git-Tag: 1.0~209 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=45c9a794d20296b46c5200fde481af9bf9e810f9;ds=sidebyside Add a missing const. --- diff --git a/white_balance_effect.cpp b/white_balance_effect.cpp index 8a00af4..d2e380a 100644 --- a/white_balance_effect.cpp +++ b/white_balance_effect.cpp @@ -39,7 +39,7 @@ Vector3d convert_color_temperature_to_xyz(float T) } // 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,