diff --git a/vtkm/opengl/testing/TestingWindow.h b/vtkm/opengl/testing/TestingWindow.h index 26e7e60a3..797608d96 100644 --- a/vtkm/opengl/testing/TestingWindow.h +++ b/vtkm/opengl/testing/TestingWindow.h @@ -69,7 +69,7 @@ // never used and seems very crazy. #include #define VTKM_NVIDIA_PTHREAD_WORKAROUND 1 -int vtkm_force_linking_to_pthread_to_fix_nvidia_libgl_bug() +static int vtkm_force_linking_to_pthread_to_fix_nvidia_libgl_bug() { return static_cast(pthread_self()); } #endif