Commit 9e298cdc authored by Berk Geveci's avatar Berk Geveci
Browse files

Fixed failing static initialization.

Static object factory initialization was using object files that
did not include vtkTimeStamp.h and hence failed to initialize the
atomic int global that it needed. Fixed.

Change-Id: I442ee71bb2a38f188a301b5c189b61e12b6272fa
parent c62849b4
......@@ -16,6 +16,7 @@
#define __vtkAutoInit_h
#include "vtkDebugLeaksManager.h" // DebugLeaks exists longer.
#include "vtkTimeStamp.h" // Here so that TimeStamp Schwarz initializer works
#define VTK_AUTOINIT(M) VTK_AUTOINIT0(M,M##_AUTOINIT)
#define VTK_AUTOINIT0(M,T) VTK_AUTOINIT1(M,T)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment