C++14 §7

simple-declaration:
   decl-specifier-seq(opt) init-declarator-list ;

Notice something?

The semicolon at the end doesn't have (opt).
stable-6.1
Nicolas Hake 2015-03-16 19:28:11 +01:00 committed by Maikel de Vries
parent ccc7382ab9
commit a03283d9e1
1 changed files with 1 additions and 1 deletions

View File

@ -781,7 +781,7 @@ std::list<C4FoWBeamTriangle> C4FoWLightSection::CalculateTriangles(C4FoWRegion *
tri.fadeRY = tri.fanRY + d * dy;
// Do the fades cross?
const double fadeCrossEta = 0.01
const double fadeCrossEta = 0.01;
if ((tri.fadeRX - lightRX) / (tri.fadeRY - lightRY)
< (tri.fadeLX - lightRX) / (tri.fadeLY - lightRY) + fadeCrossEta)
{