Skip to content

Commit

Permalink
Merge pull request #384 from jorisv/topic/fix-vs-build
Browse files Browse the repository at this point in the history
Fix Visual Studio 17.13 build
  • Loading branch information
jorisv authored Mar 11, 2025
2 parents 869649b + a5b83f7 commit 0f55569
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
* Fix an arcane compilation issue on Clang-19 ([#379](https://github.com/Simple-Robotics/proxsuite/pull/379))
* Replace `!= None` with `is not None` in Python bindings ([#375](https://github.com/Simple-Robotics/proxsuite/pull/375))
* Fix Internal compiler error with Visual Studio 17.13 ([#384](https://github.com/Simple-Robotics/proxsuite/pull/384))

### Changed
* Upgrade nanobind submodule to v2.5.0 ([#378](https://github.com/Simple-Robotics/proxsuite/pull/378))
Expand Down
6 changes: 6 additions & 0 deletions include/proxsuite/linalg/veg/type_traits/constructible.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ template<typename T>
struct MoveFn
{
T&& value;
// We should define a constructor to avoid an Internal compiler error with
// Visual Studio 17.13
MoveFn(T&& v)
: value(VEG_FWD(v))
{
}
VEG_INLINE constexpr auto operator()() const&& VEG_NOEXCEPT_IF(
VEG_CONCEPT(nothrow_movable<T>)) -> T
{
Expand Down

0 comments on commit 0f55569

Please sign in to comment.