mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-02 08:17:13 +00:00
refactor: Rename ripple namespace to xrpl (#5982)
This change renames all occurrences of `namespace ripple` and `ripple::` to `namespace xrpl` and `xrpl::`, respectively, as well as the names of test suites. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
std::size_t
|
||||
STPathElement::get_hash(STPathElement const& element)
|
||||
@@ -201,10 +201,10 @@ void
|
||||
STPathSet::add(Serializer& s) const
|
||||
{
|
||||
XRPL_ASSERT(
|
||||
getFName().isBinary(), "ripple::STPathSet::add : field is binary");
|
||||
getFName().isBinary(), "xrpl::STPathSet::add : field is binary");
|
||||
XRPL_ASSERT(
|
||||
getFName().fieldType == STI_PATHSET,
|
||||
"ripple::STPathSet::add : valid field type");
|
||||
"xrpl::STPathSet::add : valid field type");
|
||||
bool first = true;
|
||||
|
||||
for (auto const& spPath : value)
|
||||
@@ -234,4 +234,4 @@ STPathSet::add(Serializer& s) const
|
||||
s.add8(STPathElement::typeNone);
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
Reference in New Issue
Block a user