From 45c9a794d20296b46c5200fde481af9bf9e810f9 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 3 Nov 2012 18:22:15 +0100 Subject: [PATCH] Add a missing const. --- white_balance_effect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.2