Skip to content

Commit e868799

Browse files
committed
Explicitly initialize the const member
Fixes build with clang
1 parent 3d9305c commit e868799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clunk/mdct_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class mdct_context {
6161

6262
T data[N];
6363

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

0 commit comments

Comments
 (0)