diff --git a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx index 6b401bfd..85add9f8 100644 --- a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx +++ b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx @@ -307,7 +307,7 @@ int vtkHyperTreeGridThreshold::ProcessTrees(vtkHyperTreeGrid* input, vtkDataObje break; } - queue.Push(static_cast(outIndex)); + queue.Push(std::move(static_cast(outIndex))); } queue.Flush(); diff --git a/Rendering/UI/vtkWin32RenderWindowInteractor.cxx b/Rendering/UI/vtkWin32RenderWindowInteractor.cxx index f00daf39..00707611 100644 --- a/Rendering/UI/vtkWin32RenderWindowInteractor.cxx +++ b/Rendering/UI/vtkWin32RenderWindowInteractor.cxx @@ -217,7 +217,7 @@ public: std::map> TimerContextMap; bool IsRunning = false; - static void OnTimerFired(PVOID lpParameter, BOOLEAN) + static void WINAPI OnTimerFired(PVOID lpParameter, BOOLEAN) { auto* timerContext = static_cast(lpParameter); // Do not post another message for the same timer if already posted