mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-30 10:30:19 +00:00
style: clang-tidy auto fixes (#2958)
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2d6f82c27f
commit
af736717fc
@@ -96,10 +96,11 @@ public:
|
||||
{
|
||||
using std::to_string;
|
||||
auto throwErrorIfNeeded = [idx](CassError rc, std::string_view label) {
|
||||
if (rc != CASS_OK)
|
||||
if (rc != CASS_OK) {
|
||||
throw std::logic_error(
|
||||
fmt::format("[{}] at idx {}: {}", label, idx, cass_error_desc(rc))
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
auto bindBytes = [this, idx](auto const* data, size_t size) {
|
||||
|
||||
Reference in New Issue
Block a user