X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FDataStructures%2FGraph.h;h=d9e913d579b326a535d2ebcc8cb59261cea9874f;hb=eb7e1229343f1d74c24a4008aae1425180bb95c8;hp=ed2d6ae337086d941fa19909d9eea3720d2935cd;hpb=7191481dd157b8e1c62b3382a29901ee878757d8;p=cpPlugins.git diff --git a/lib/cpExtensions/DataStructures/Graph.h b/lib/cpExtensions/DataStructures/Graph.h index ed2d6ae..d9e913d 100644 --- a/lib/cpExtensions/DataStructures/Graph.h +++ b/lib/cpExtensions/DataStructures/Graph.h @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include namespace cpExtensions @@ -20,11 +20,11 @@ namespace cpExtensions */ template< class _TVertex, class _TCost, class _TIndex = unsigned long, class _TIndexCompare = std::less< _TIndex > > class Graph - : public itk::LightObject + : public itk::DataObject { public: typedef Graph Self; - typedef itk::LightObject Superclass; + typedef itk::DataObject Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; @@ -41,7 +41,7 @@ namespace cpExtensions public: itkNewMacro( Self ); - itkTypeMacro( Graph, itk::LightObject ); + itkTypeMacro( Graph, itk::DataObject ); public: /*! \brief Iterators over vertices.