aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorDaniel Kraft <[email protected]>2018-11-18 15:32:18 +0100
committerDaniel Kraft <[email protected]>2019-01-04 08:11:44 +0100
commit6b25f29a91867e1cd081777bc9fb6338f0c0e739 (patch)
treed6ac4d3222624b8b0abb4feab20ce7ad3069904d /src/httpserver.cpp
parentMerge #13884: depends: Enable bdb unicode support for Windows (diff)
downloaddiscoin-6b25f29a91867e1cd081777bc9fb6338f0c0e739.tar.xz
discoin-6b25f29a91867e1cd081777bc9fb6338f0c0e739.zip
Use std::vector API for construction of test data.
For constructing test scripts, use std::vector and, in particular, std::vector::insert to insert 20 zero bytes rather than listing the full array of bytes explicitly. This makes the code easier to read and makes it immediately obvious what the structure of the data is, without having to count the zeros to understand it.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions