mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
This commit is contained in:
parent
9b386b86ec
commit
dd4230586f
26 changed files with 69 additions and 67 deletions
|
|
@ -356,7 +356,7 @@ struct CmplxSIMDOps
|
|||
|
||||
// The pure complex version
|
||||
template <typename Scalar>
|
||||
struct CmplxSIMDOps<std::complex<Scalar> >
|
||||
struct CmplxSIMDOps<std::complex<Scalar>>
|
||||
{
|
||||
typedef typename SIMDNativeOps<Scalar>::vSIMDType vSIMDType;
|
||||
|
||||
|
|
@ -379,7 +379,7 @@ struct CmplxSIMDOps<std::complex<Scalar> >
|
|||
static inline std::complex<Scalar> JUCE_VECTOR_CALLTYPE sum (vSIMDType a) noexcept
|
||||
{
|
||||
vSIMDType result = SIMDNativeOps<Scalar>::oddevensum (a);
|
||||
const Scalar* ptr = reinterpret_cast<const Scalar*> (&result);
|
||||
auto* ptr = reinterpret_cast<const Scalar*> (&result);
|
||||
return std::complex<Scalar> (ptr[0], ptr[1]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue