fixed warning: can't generate assignment operator

This commit is contained in:
Anatoly Baksheev 2011-05-06 18:29:53 +00:00
parent 05ece2433e
commit cce26e58b8
3 changed files with 8 additions and 0 deletions

View File

@ -314,6 +314,9 @@ public:
private:
KDTreeIndex& operator=(const KDTreeIndex&);
KDTreeIndex(const KDTreeIndex&);
void save_tree(FILE* stream, Tree tree)
{

View File

@ -596,6 +596,8 @@ public:
private:
KMeansIndex& operator=(const KMeansIndex&);
KMeansIndex(const KMeansIndex&);
void save_tree(FILE* stream, KMeansNode node)
{

View File

@ -54,6 +54,9 @@ class LinearIndex : public NNIndex<ELEM_TYPE>
const Matrix<ELEM_TYPE> dataset;
const LinearIndexParams& index_params;
LinearIndex(const LinearIndex&);
LinearIndex& operator=(const LinearIndex&);
public:
LinearIndex(const Matrix<ELEM_TYPE>& inputData, const LinearIndexParams& params = LinearIndexParams() ) :