diff --git a/libs/pbd/pbd/signals.h b/libs/pbd/pbd/signals.h index f1ad3dec58..db59407fc0 100644 --- a/libs/pbd/pbd/signals.h +++ b/libs/pbd/pbd/signals.h @@ -440,14 +440,16 @@ SignalWithCombiner::operator() (A... a) } #endif -#ifdef _MSC_VER /* Regarding the note (below) it was initially - * thought that the problem got fixed in VS2015 - * but in fact it still persists even in VS2022 */ - /* Use the older (heap based) mapping when building with MSVC. - * Our StackAllocator class depends on 'boost::aligned_storage' - * which is known to be troublesome with Visual C++ :- - * https://www.boost.org/doc/libs/1_65_0/libs/type_traits/doc/html/boost_typetraits/reference/aligned_storage.html - */ +#ifdef _MSC_VER + /* Regarding the note (below) it was initially + * thought that the problem got fixed in VS2015 + * but in fact it still persists even in VS2022 */ + + /* Use the older (heap based) mapping when building with MSVC. + * Our StackAllocator class depends on 'boost::aligned_storage' + * which is known to be troublesome with Visual C++ :- + * https://www.boost.org/doc/libs/1_65_0/libs/type_traits/doc/html/boost_typetraits/reference/aligned_storage.html + */ std::vector s; #else const std::size_t nslots = 512;