Skip to content

Commit 8ad5daf

Browse files
committed
Fix misleading compiler warning
1 parent b0f5bc2 commit 8ad5daf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/memory/memory_pool.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ namespace Sass {
5555
std::vector<void*> arenas;
5656

5757
// One pointer for every bucket (zero init)
58-
void* freeList[SassAllocatorBuckets] = {};
58+
#pragma warning (suppress:4351)
59+
void* freeList[SassAllocatorBuckets]{};
5960

6061
// Increase the address until it sits on a
6162
// memory aligned address (maybe use `aligned`).

0 commit comments

Comments
 (0)