bitcoin/bitcoin — pull request #4986 by theuni (2014-09-25 23:26:06+00:00)
Title: Disallow by-value copies of CAutoFile

One might assume (as I did) that CAutoFile would be ref-counted so that a copied object would delay closing the underlying file until all copies have gone out of scope. Since that's not the case with CAutoFile, explicitly disable copying.