aboutsummaryrefslogtreecommitdiff
path: root/src/streams.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-07-25 07:09:28 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-07-25 07:09:33 -0400
commita140953907eb522f891b5f8ab0fd9b6d1bf3195e (patch)
tree7f2441d9ae2fb1ecb487a1ff30ff1d3b8f2250d1 /src/streams.h
parentc8836532024fa841d88dae6de91d662aba0f0cb7 (diff)
parent12dd1013454a3b4913e8e6bbac251887e7e82ff0 (diff)
downloadbitcoin-a140953907eb522f891b5f8ab0fd9b6d1bf3195e.tar.xz
Merge #13753: scripted-diff: Remove trailing whitespaces
12dd101345 scripted-diff: Remove trailing whitespaces (João Barbosa) Pull request description: The script test/lint/lint-whitespace.sh should prevent new cases. This happens in some pulls where the code editor and the author 'git add's them, so this would fix it all. Tree-SHA512: bcdd3472fcd01a2754e52212c7db1de2fdc422728b06785481954a27162fb72001cb73708329cc56e95bcc5e45c1348ebc4eacc2ccfa6aa12413c7ec450b6a33
Diffstat (limited to 'src/streams.h')
-rw-r--r--src/streams.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/streams.h b/src/streams.h
index 6ba4f103da..ed2e985d76 100644
--- a/src/streams.h
+++ b/src/streams.h
@@ -348,7 +348,7 @@ public:
if (nReadPosNext > vch.size()) {
throw std::ios_base::failure("CDataStream::read(): end of data");
}
- memcpy(pch, &vch[nReadPos], nSize);
+ memcpy(pch, &vch[nReadPos], nSize);
if (nReadPosNext == vch.size())
{
nReadPos = 0;
@@ -456,7 +456,7 @@ private:
const int nType;
const int nVersion;
- FILE* file;
+ FILE* file;
public:
CAutoFile(FILE* filenew, int nTypeIn, int nVersionIn) : nType(nTypeIn), nVersion(nVersionIn)