Skip to content

Commit

Permalink
ENH: Explicitly allow copying LabelObjectLine objects
Browse files Browse the repository at this point in the history
Eases using `LabelObjectLine` objects on the stack.
  • Loading branch information
N-Dekker committed Nov 2, 2024
1 parent 3dabff7 commit 1ce96d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Modules/Filtering/LabelMap/include/itkLabelObjectLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifndef itkLabelObjectLine_h
#define itkLabelObjectLine_h

#include "itkMacro.h"
#include "itkIndex.h"
#include "itkIndent.h"

Expand All @@ -42,6 +43,8 @@ template <unsigned int VImageDimension>
class ITK_TEMPLATE_EXPORT LabelObjectLine
{
public:
ITK_DEFAULT_COPY_AND_MOVE(LabelObjectLine);

static constexpr unsigned int ImageDimension = VImageDimension;

using IndexType = Index<VImageDimension>;
Expand Down

0 comments on commit 1ce96d2

Please sign in to comment.