Skip to content

Commit 10febea

Browse files
committed
Fix some differences in how compiler is interpreting test code
1 parent f779f11 commit 10febea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/basic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using namespace ncrypto;
99
struct TestBuf : public std::string {
1010
TestBuf(const std::string& constStr)
1111
: std::string(constStr),
12-
buf(reinterpret_cast<unsigned char*>(data()), size()) {}
12+
buf{reinterpret_cast<unsigned char*>(data()), size()} {}
1313
TestBuf(size_t n) : TestBuf(std::string(n, 0)) {}
1414

1515
operator Buffer<unsigned char>&() { return buf; }

0 commit comments

Comments
 (0)