Skip to content

Create single const get128() method in btSimdScalar#4763

Open
madmiraal wants to merge 1 commit intobulletphysics:masterfrom
madmiraal:fix-ignored-qualifiers
Open

Create single const get128() method in btSimdScalar#4763
madmiraal wants to merge 1 commit intobulletphysics:masterfrom
madmiraal:fix-ignored-qualifiers

Conversation

@madmiraal
Copy link

Currently, when compiling on macOS 15 with Clang 17, I get the following warning:

  src/BulletDynamics/ConstraintSolver/btSolverBody.h:59:20: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
     59 |         SIMD_FORCE_INLINE const __m128 get128() const
        |   

There is also a non-const get128() method.

This PR combines the two and creates a single __m128 get128() const method for btSimdScalar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant