Skip to content
Snippets Groups Projects
Commit bd3f0e90 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: avoid the default copy constructors

parent 54021a37
No related branches found
No related tags found
No related merge requests found
......@@ -35,11 +35,8 @@ template <class TNeighIter, class TInputImage, class TOutput>
class ScalarImageTextureFunctor
{
public:
ScalarImageTextureFunctor()
{
m_FeatureIndex=0;
};
~ScalarImageTextureFunctor() { };
ScalarImageTextureFunctor(): m_FeatureIndex(0) {};
~ScalarImageTextureFunctor() {};
void SetFeatureIndex(int i)
{
......@@ -87,6 +84,9 @@ public:
}
private:
ScalarImageTextureFunctor(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
int m_FeatureIndex;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment