diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-05-09 11:20:57 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-05-09 11:20:57 +1000 |
| commit | d739edef761f3bf576dc45da6611279a3f68596e (patch) | |
| tree | 96545a7e590583cd39fd607805985f7e87957e87 /src/database/database.cpp | |
| parent | 16e6180ba7946119538d03463ea7d37fccc4dcb3 (diff) | |
| download | tangara-fw-d739edef761f3bf576dc45da6611279a3f68596e.tar.gz | |
Fix tests!
Includes removing some that never passed and/or weren't quite a good
idea
Diffstat (limited to 'src/database/database.cpp')
| -rw-r--r-- | src/database/database.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp index 747ecc25..47ad8ca6 100644 --- a/src/database/database.cpp +++ b/src/database/database.cpp @@ -311,7 +311,8 @@ auto parse_dump(const leveldb::Slice& key, const leveldb::Slice& value) } else if (i == 1) { stream << " / 0x"; } else { - stream << std::hex << std::setfill('0') << std::setw(2) << static_cast<int>(str[i]); + stream << std::hex << std::setfill('0') << std::setw(2) + << static_cast<int>(str[i]); } } for (std::size_t i = 2; i < str.size(); i++) { @@ -320,7 +321,8 @@ auto parse_dump(const leveldb::Slice& key, const leveldb::Slice& value) stream << "\tval: 0x"; std::string str = value.ToString(); for (int i = 0; i < value.size(); i++) { - stream << std::hex << std::setfill('0') << std::setw(2) << static_cast<int>(str[i]); + stream << std::hex << std::setfill('0') << std::setw(2) + << static_cast<int>(str[i]); } return stream.str(); } |
