mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 16:10:57 +00:00
roll back unrelated clang-tidy changes
This commit is contained in:
@@ -40,8 +40,8 @@ public:
|
||||
[[nodiscard]] value_type const&
|
||||
value() const noexcept;
|
||||
|
||||
static void
|
||||
setIssue(Asset const& issue) const;
|
||||
void
|
||||
setIssue(Asset const& issue);
|
||||
|
||||
[[nodiscard]] SerializedTypeID
|
||||
getSType() const override;
|
||||
@@ -114,7 +114,7 @@ STIssue::value() const noexcept
|
||||
}
|
||||
|
||||
inline void
|
||||
STIssue::setIssue(Asset const& asset) const
|
||||
STIssue::setIssue(Asset const& asset)
|
||||
{
|
||||
if (holds<Issue>() && !isConsistent(asset_.get<Issue>()))
|
||||
Throw<std::runtime_error>("Invalid asset: currency and account native mismatch");
|
||||
|
||||
Reference in New Issue
Block a user