Commit b5984fef authored by Allison Vacanti's avatar Allison Vacanti Committed by Kitware Robot
Browse files

Merge topic 'vtkKdTree_warning_fix'

85309b69

 Fix MSVC warning C4512 in KdTree and D3 classes.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Mathieu Westphal's avatarMathieu Westphal <mathieu.westphal@kitware.com>
Acked-by: default avatarDavid E. DeMarle <dave.demarle@kitware.com>
Merge-request: !3640
parents 6aa6e6f8 85309b69
......@@ -90,6 +90,11 @@ public:
vtkTimerLog::MarkEndEvent(event);
}
}
private:
// Explicit disable copy/assignment to prevent MSVC from complaining (C4512)
TimeLog(const TimeLog&) = delete;
TimeLog& operator=(const TimeLog&) = delete;
};
}
......
......@@ -80,6 +80,11 @@ public:
vtkTimerLog::MarkEndEvent(event);
}
}
private:
// Explicit disable copy/assignment to prevent MSVC from complaining (C4512)
TimeLog(const TimeLog&) = delete;
TimeLog& operator=(const TimeLog&) = delete;
};
}
......
......@@ -123,6 +123,11 @@ public:
vtkTimerLog::MarkEndEvent(event);
}
}
private:
// Explicit disable copy/assignment to prevent MSVC from complaining (C4512)
TimeLog(const TimeLog&) = delete;
TimeLog& operator=(const TimeLog&) = delete;
};
}
......
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