mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Use std::size in place of std::extent
* Fixes RIPD-269
This commit is contained in:
committed by
manojsdoshi
parent
0290d0b82c
commit
2d23e7bd18
@@ -321,11 +321,8 @@ public:
|
||||
LedgerSeq BIGINT UNSIGNED \
|
||||
);",
|
||||
"CREATE INDEX SeqLedger ON Ledgers(LedgerSeq);"};
|
||||
int dbInitCount = std::extent<decltype(dbInit)>::value;
|
||||
for (int i = 0; i < dbInitCount; ++i)
|
||||
{
|
||||
s << dbInit[i];
|
||||
}
|
||||
for (auto const c : dbInit)
|
||||
s << c;
|
||||
char lh[65];
|
||||
memset(lh, 'a', 64);
|
||||
lh[64] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user