Commit 9d00f3fb authored by Martin Heistermann's avatar Martin Heistermann
Browse files

fix warnings by deleting assignment operator instead of just making it private.

parent 76aeec42
......@@ -219,7 +219,7 @@ public:
virtual void resize( unsigned int _num ) = 0; //!< Resize the data vector.
virtual void crop( const std::vector<int> &_indices ) = 0; //!< Keep only the elements with given indices in the data vector. The indices have to be valid, sorted and unique.
private:
void operator=( const SplatPropertyInterface & ); //!< Disallow the assign operator. (private and *not* implemented)
void operator=( const SplatPropertyInterface & ) = delete;
};
//----------------
......@@ -312,7 +312,7 @@ public:
virtual inline void resize( unsigned int _num ) override { data_.resize( _num ); } //!< Resize the data vector.
virtual void crop( const std::vector<int> &_indices ) override; //!< Keep only the elements with given indices in the data vector. The indices have to be valid, sorted and unique.
private:
void operator=( const SplatPropertyT<T> & ); //!< Disallow the assign operator. (private and *not* implemented)
void operator=( const SplatPropertyT<T> & ) = delete;
private:
std::vector<T> data_; //!< The actual stored data (one element per splat)
};
......
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