We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f779f11 commit 10febeaCopy full SHA for 10febea
tests/basic.cpp
@@ -9,7 +9,7 @@ using namespace ncrypto;
9
struct TestBuf : public std::string {
10
TestBuf(const std::string& constStr)
11
: std::string(constStr),
12
- buf(reinterpret_cast<unsigned char*>(data()), size()) {}
+ buf{reinterpret_cast<unsigned char*>(data()), size()} {}
13
TestBuf(size_t n) : TestBuf(std::string(n, 0)) {}
14
15
operator Buffer<unsigned char>&() { return buf; }
0 commit comments