Commit cce26e58 authored by Anatoly Baksheev's avatar Anatoly Baksheev

fixed warning: can't generate assignment operator

parent 05ece243
......@@ -314,6 +314,9 @@ public:
private:
KDTreeIndex& operator=(const KDTreeIndex&);
KDTreeIndex(const KDTreeIndex&);
void save_tree(FILE* stream, Tree tree)
{
......
......@@ -596,6 +596,8 @@ public:
private:
KMeansIndex& operator=(const KMeansIndex&);
KMeansIndex(const KMeansIndex&);
void save_tree(FILE* stream, KMeansNode node)
{
......
......@@ -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() ) :
......
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