Skip to content

Commit

Permalink
Address -Wpedantic warnings about extra ';'s
Browse files Browse the repository at this point in the history
  • Loading branch information
jagerman committed Jul 13, 2024
1 parent 578defd commit e32ecf5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/ethyl/provider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@ struct Provider : public std::enable_shared_from_this<Provider> {

std::mutex mutex;
};
}; // namespace ethyl
} // namespace ethyl
2 changes: 1 addition & 1 deletion include/ethyl/signer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ class Signer {
uint64_t gasPrice = 0;

};
}; // namespace ethyl
} // namespace ethyl
2 changes: 1 addition & 1 deletion include/ethyl/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ namespace utils

std::string trimAddress(const std::string& address);
} // namespace ethyl::utils
};
}

2 changes: 1 addition & 1 deletion src/provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -861,4 +861,4 @@ FeeData Provider::getFeeData() {
return FeeData(gasPrice, maxFeePerGas, maxPriorityFeePerGas);
}

}; // namespace ethyl
} // namespace ethyl
2 changes: 1 addition & 1 deletion src/signer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ std::string Signer::sendTransaction(Transaction& tx, std::span<const unsigned ch
const auto result = provider->sendTransaction(tx);
return result;
}
}; // namespace ethyl
} // namespace ethyl
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ std::string utils::trimAddress(const std::string& address) {
// Trim and return the address
return "0x" + address.substr(firstNonZero, 40);
}
}; // namespace ethyl
} // namespace ethyl

0 comments on commit e32ecf5

Please sign in to comment.