From df8c13eeda24f860259ce344f342d93251ae5767 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Fri, 18 Mar 2016 11:25:59 -0400 Subject: [PATCH] Mark vtkm_force_linking_to_pthread_to_fix_nvidia_libgl_bug as static --- vtkm/opengl/testing/TestingWindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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