diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-02 11:29:23 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-02 11:29:23 +0000 |
| commit | f15ec3f4a28e7fbef8880d05bc163f7a8dda250d (patch) | |
| tree | bd428bf03d5cf605bec23fb5ee9c5297acec7740 /src/display | |
| parent | Build with GDKMM_DISABLE_DEPRECATED for all (diff) | |
| download | inkscape-f15ec3f4a28e7fbef8880d05bc163f7a8dda250d.tar.gz inkscape-f15ec3f4a28e7fbef8880d05bc163f7a8dda250d.zip | |
Fix build with C++11
Fixed bugs:
- https://launchpad.net/bugs/858814
(bzr r12166)
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/nr-filter-turbulence.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/display/nr-filter-turbulence.cpp b/src/display/nr-filter-turbulence.cpp index 76b877fbc..333074f55 100644 --- a/src/display/nr-filter-turbulence.cpp +++ b/src/display/nr-filter-turbulence.cpp @@ -283,7 +283,12 @@ private: // other constants static int const BSize = 0x100; static int const BMask = 0xff; + +#if __cplusplus < 201103L static double const PerlinOffset = 4096.0; +#else + static double constexpr PerlinOffset = 4096.0; +#endif Geom::Rect _tile; Geom::Point _baseFreq; |
