Skip to content

Commit

Permalink
TEMP for "lvalue required as unary '&' operand" << heap allocation ?
Browse files Browse the repository at this point in the history
  • Loading branch information
d-j-a-y committed Jan 20, 2016
1 parent 6a18f6a commit 57e5258
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synfig-core/src/synfig/rendering/software/function/blur.cpp
Expand Up @@ -165,7 +165,9 @@ software::Blur::blur_fft(const Params &params)
bool full = false;
bool cross = false;

Array<Real, 4> arr_surface(&surface.front().real());
Real surfacereal(surface.front().real());
Array<Real, 4> arr_surface(& surfacereal);

arr_surface
.set_dim(rows, cols*channels*2)
.set_dim(cols, channels*2)
Expand Down

0 comments on commit 57e5258

Please sign in to comment.