[#CBlockIndex-operator_assign-09] = xref:CBlockIndex.adoc[CBlockIndex]::operator= :relfileprefix: ../ :mrdocs: Copy assignment is deleted to avoid accidental copies of block index entries. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CBlockIndex.adoc[CBlockIndex]& operator=(xref:CBlockIndex.adoc[CBlockIndex] const& other) = delete; ---- == Return Value Reference to the current object == Parameters [cols="1,4"] |=== | Name| Description | *other* | The object to copy assign from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#