Skip to content
Snippets Groups Projects
Commit 95ced423 authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Brad King
Browse files

hashtable: delete assignment operator instead of poisoning it

Use the C++11 approach.
parent 44676809
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ struct _Hashtable_node
void public_method_to_quiet_warning_about_all_methods_private();
private:
void operator=(_Hashtable_node<_Val> const&); // poison node assignment
void operator=(_Hashtable_node<_Val> const&) = delete;
};
template <class _Val, class _Key, class _HashFcn, class _ExtractKey,
......
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