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

@@ -4,7 +4,7 @@
#include <xrpl/basics/CountedObject.h>
#include <xrpl/protocol/STBase.h>
namespace ripple {
namespace xrpl {
template <typename Integer>
class STInteger : public STBase, public CountedObject<STInteger<Integer>>
@@ -54,7 +54,7 @@ private:
STBase*
move(std::size_t n, void* buf) override;
friend class ripple::detail::STVar;
friend class xrpl::detail::STVar;
};
using STUInt8 = STInteger<unsigned char>;
@@ -94,10 +94,10 @@ inline void
STInteger<Integer>::add(Serializer& s) const
{
XRPL_ASSERT(
getFName().isBinary(), "ripple::STInteger::add : field is binary");
getFName().isBinary(), "xrpl::STInteger::add : field is binary");
XRPL_ASSERT(
getFName().fieldType == getSType(),
"ripple::STInteger::add : field type match");
"xrpl::STInteger::add : field type match");
s.addInteger(value_);
}
@@ -144,6 +144,6 @@ inline STInteger<Integer>::operator Integer() const
return value_;
}
} // namespace ripple
} // namespace xrpl
#endif