mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-07 10:46:42 +00:00
refactor: use east const convention (#5409)
This change refactors the codebase to use the "east const convention", and adds a clang-format rule to follow this convention.
This commit is contained in:
@@ -3166,7 +3166,7 @@ public:
|
||||
StubHookContext stubCtx{};
|
||||
stubCtx.slot[3] = {
|
||||
.storage =
|
||||
std::reinterpret_pointer_cast<const STObject>(storage),
|
||||
std::reinterpret_pointer_cast<STObject const>(storage),
|
||||
.entry = &(*storage)};
|
||||
auto hookCtx =
|
||||
makeStubHookContext(applyCtx, alice.id(), alice.id(), stubCtx);
|
||||
@@ -3320,7 +3320,7 @@ public:
|
||||
StubHookContext stubCtx{};
|
||||
stubCtx.slot[1] = {
|
||||
.storage =
|
||||
std::reinterpret_pointer_cast<const STObject>(storage),
|
||||
std::reinterpret_pointer_cast<STObject const>(storage),
|
||||
.entry = &(*storage)};
|
||||
auto hookCtx =
|
||||
makeStubHookContext(applyCtx, alice.id(), alice.id(), stubCtx);
|
||||
|
||||
Reference in New Issue
Block a user