mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Antithesis instrumentation improvements (#5213)
* Rename ASSERT to XRPL_ASSERT * Upgrade to Anthithesis SDK 0.4.4, and use new 0.4.4 features * automatic cast to bool, like assert * Add instrumentation workflow to verify build with instrumentation enabled
This commit is contained in:
@@ -110,8 +110,9 @@ template <typename Integer>
|
||||
inline void
|
||||
STInteger<Integer>::add(Serializer& s) const
|
||||
{
|
||||
ASSERT(getFName().isBinary(), "ripple::STInteger::add : field is binary");
|
||||
ASSERT(
|
||||
XRPL_ASSERT(
|
||||
getFName().isBinary(), "ripple::STInteger::add : field is binary");
|
||||
XRPL_ASSERT(
|
||||
getFName().fieldType == getSType(),
|
||||
"ripple::STInteger::add : field type match");
|
||||
s.addInteger(value_);
|
||||
|
||||
Reference in New Issue
Block a user