aboutsummaryrefslogtreecommitdiff
path: root/src/test/checkblock_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-09-26 20:30:57 +0200
committerPieter Wuille <[email protected]>2014-09-26 20:31:18 +0200
commit64cfaf891fe539b36f6be37dac6c28a712d70b96 (patch)
tree520c1e99eb70e7fd0ea85305b357d107f021a2a8 /src/test/checkblock_tests.cpp
parentMerge pull request #4983 (diff)
parentautofile: Disallow by-value copies of CAutoFile (diff)
downloaddiscoin-64cfaf891fe539b36f6be37dac6c28a712d70b96.tar.xz
discoin-64cfaf891fe539b36f6be37dac6c28a712d70b96.zip
Merge pull request #4986
6eb67b0 autofile: Disallow by-value copies of CAutoFile (Cory Fields) eee030f autofile: don't copy CAutoFile by value (Cory Fields)
Diffstat (limited to 'src/test/checkblock_tests.cpp')
-rw-r--r--src/test/checkblock_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/checkblock_tests.cpp b/src/test/checkblock_tests.cpp
index fdea12846..67d40a45c 100644
--- a/src/test/checkblock_tests.cpp
+++ b/src/test/checkblock_tests.cpp
@@ -35,7 +35,7 @@ bool read_block(const std::string& filename, CBlock& block)
fseek(fp, 8, SEEK_SET); // skip msgheader/size
- CAutoFile filein = CAutoFile(fp, SER_DISK, CLIENT_VERSION);
+ CAutoFile filein(fp, SER_DISK, CLIENT_VERSION);
if (!filein) return false;
filein >> block;