diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/vtk/backport-bda8324.diff | |
Diffstat (limited to 'vcpkg/ports/vtk/backport-bda8324.diff')
| -rw-r--r-- | vcpkg/ports/vtk/backport-bda8324.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/vtk/backport-bda8324.diff b/vcpkg/ports/vtk/backport-bda8324.diff new file mode 100644 index 0000000..8cf4c66 --- /dev/null +++ b/vcpkg/ports/vtk/backport-bda8324.diff @@ -0,0 +1,13 @@ +diff --git a/Parallel/Core/vtkThreadedCallbackQueue.txx b/Parallel/Core/vtkThreadedCallbackQueue.txx +index 8f5a4414..fd55136d 100644 +--- a/Parallel/Core/vtkThreadedCallbackQueue.txx ++++ b/Parallel/Core/vtkThreadedCallbackQueue.txx +@@ -275,7 +275,7 @@ template <class T> + struct vtkThreadedCallbackQueue::InvokerImpl::DereferenceImpl<T, + std::true_type /* CanBeDereferencedT */> + { +- using Type = decltype(*std::declval<T>()); ++ using Type = typename std::remove_pointer<decltype(*std::declval<T>())>::type; + static Type& Get(T& instance) { return *instance; } + }; + |