Properly initialize all fields in CrashReporterCleanupContext. This caused the build...
[oota-llvm.git] / include / llvm / Support / CrashRecoveryContext.h
index 759d2f8c71827013a2eaabaabd151399a1e4204b..db835e8c20489dd0f33c910d42dd9f7cca0ecfb9 100644 (file)
@@ -101,11 +101,10 @@ class CrashRecoveryContextCleanup {
 protected:
   CrashRecoveryContext *context;
   CrashRecoveryContextCleanup(CrashRecoveryContext *context)
-    : context(context) {}
+    : context(context), cleanupFired(false) {}
 public:
   bool cleanupFired;
   
-  CrashRecoveryContextCleanup() : cleanupFired(false) {}
   virtual ~CrashRecoveryContextCleanup();
   virtual void recoverResources() = 0;