Skip to content

Commit 0f55569

Browse files
authored
Merge pull request #384 from jorisv/topic/fix-vs-build
Fix Visual Studio 17.13 build
2 parents 869649b + a5b83f7 commit 0f55569

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
99
### Fixed
1010
* Fix an arcane compilation issue on Clang-19 ([#379](https://github.com/Simple-Robotics/proxsuite/pull/379))
1111
* Replace `!= None` with `is not None` in Python bindings ([#375](https://github.com/Simple-Robotics/proxsuite/pull/375))
12+
* Fix Internal compiler error with Visual Studio 17.13 ([#384](https://github.com/Simple-Robotics/proxsuite/pull/384))
1213

1314
### Changed
1415
* Upgrade nanobind submodule to v2.5.0 ([#378](https://github.com/Simple-Robotics/proxsuite/pull/378))

include/proxsuite/linalg/veg/type_traits/constructible.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ template<typename T>
166166
struct MoveFn
167167
{
168168
T&& value;
169+
// We should define a constructor to avoid an Internal compiler error with
170+
// Visual Studio 17.13
171+
MoveFn(T&& v)
172+
: value(VEG_FWD(v))
173+
{
174+
}
169175
VEG_INLINE constexpr auto operator()() const&& VEG_NOEXCEPT_IF(
170176
VEG_CONCEPT(nothrow_movable<T>)) -> T
171177
{

0 commit comments

Comments
 (0)