refactor: Rename ripple namespace to xrpl

This commit is contained in:
Bart
2025-11-10 11:49:19 -05:00
parent 7141781db4
commit 09c61d6fc4
1235 changed files with 3810 additions and 3823 deletions

View File

@@ -5,7 +5,7 @@
#include <xrpl/beast/utility/Zero.h>
#include <xrpl/protocol/STBase.h>
namespace ripple {
namespace xrpl {
// The template parameter could be an unsigned type, however there's a bug in
// gdb (last checked in gdb 12.1) that prevents gdb from finding the RTTI
@@ -152,10 +152,10 @@ void
STBitString<Bits>::add(Serializer& s) const
{
XRPL_ASSERT(
getFName().isBinary(), "ripple::STBitString::add : field is binary");
getFName().isBinary(), "xrpl::STBitString::add : field is binary");
XRPL_ASSERT(
getFName().fieldType == getSType(),
"ripple::STBitString::add : field type match");
"xrpl::STBitString::add : field type match");
s.addBitString<Bits>(value_);
}
@@ -187,6 +187,6 @@ STBitString<Bits>::isDefault() const
return value_ == beast::zero;
}
} // namespace ripple
} // namespace xrpl
#endif