Skip to content

Commit 5e31f8e

Browse files
committed
compiler fix
1 parent c033ac8 commit 5e31f8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

external/basisu/encoder/cppspmd_sse.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ struct spmd_kernel
493493
CPPSPMD_FORCE_INLINE vfloat& store(vfloat&& dst, const vfloat& src)
494494
{
495495
dst.m_value = blendv_mask_ps(dst.m_value, src.m_value, _mm_castsi128_ps(m_exec.m_mask));
496-
return dst;
496+
return { dst };
497497
}
498498

499499
CPPSPMD_FORCE_INLINE vfloat& store_all(vfloat& dst, const vfloat& src)
@@ -505,7 +505,7 @@ struct spmd_kernel
505505
CPPSPMD_FORCE_INLINE vfloat& store_all(vfloat&& dst, const vfloat& src)
506506
{
507507
dst.m_value = src.m_value;
508-
return dst;
508+
return { dst };
509509
}
510510

511511
// Linear ref to floats

0 commit comments

Comments
 (0)