--- synfig-0.64.3/src/synfig/color.h.orig 2016-01-25 12:44:31.397318818 +0000
+++ synfig-0.64.3/src/synfig/color.h 2016-01-25 12:46:54.206630232 +0000
@@ -120,8 +120,8 @@
public:
- static const value_type ceil=1;
- static const value_type floor=0;
+ static constexpr value_type ceil=1;
+ static constexpr value_type floor=0;
const String get_string(void)const;
@@ -589,7 +589,7 @@
public:
static const unsigned char ceil=255;
static const unsigned char floor=0;
- static const float range=ceil-floor;
+ static constexpr float range=ceil-floor;
static const value_type amask=0xFF<<24;
static const value_type rmask=0xFF<<16;
static const value_type gmask=0xFF<<8;