Import 2017-06-07 23:51:09: master e26da411

Author Committer Branch Timestamp Parent
jcfr jcfr master 2014-06-07 12:04:44 master 8c968e31
Affected Issues 0003419: Mismatch between vtkIdType and int - Fix warnings
Changeset

COMP: Update EMSegment to fix narrowing and non virtual dtor warnings.

Issue 0003419


r17052 | jcfr | 2014-06-06 21:29:01 -0400 (Fri, 06 Jun 2014) | 3 lines

COMP: Avoid implicit narrowing casts

Explicitly cast initializers in {} array initializer where the assigned
type is smaller than the value type. This avoids implicit narrowing in a
{} initializer, which is ill-formed in C++11.


r17051 | jcfr | 2014-06-06 21:21:39 -0400 (Fri, 06 Jun 2014) | 3 lines

COMP: Remove gratuitous virtual

Remove 'virtual' specifier of private class in source file, where said
class is not and (due to being in a source file) never will be derived.
This avoids needing an explicit (virtual) dtor in order to avo
id a -Wnon-virtual-dtor warning.

From: Matthew Woehlke <matthew.woehlke@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23314 3bd1e089-480b-0410-8dfb-8563597acbee

mod - SuperBuild.cmake Diff File