1
0
Fork 0
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:
jules 2017-10-11 12:25:05 +01:00
parent 9b386b86ec
commit dd4230586f
26 changed files with 69 additions and 67 deletions

View file

@ -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]);
}