Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Explicitly initialize the const member
Fixes build with clang
  • Loading branch information
AMDmi3 committed Oct 8, 2014
1 parent 3d9305c commit e868799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clunk/mdct_context.h
Expand Up @@ -61,7 +61,7 @@ class mdct_context {

T data[N];

mdct_context() : sqrt_N((T)sqrt((T)N)), data() {
mdct_context() : window_func(), sqrt_N((T)sqrt((T)N)), data() {
for(unsigned t = 0; t < N4; ++t) {
angle_cache[t] = std::polar<T>(1, 2 * T(M_PI) * (t + T(0.125)) / N);
}
Expand Down

0 comments on commit e868799

Please sign in to comment.