diff options
| author | Amlal <amlal@nekernel.org> | 2025-04-25 22:58:37 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-04-25 22:58:37 +0200 |
| commit | 7258fbf7c8785a3390441bbbac44d78b2e4facbf (patch) | |
| tree | c0e533bd5ef95d07cf7810c6d8cf0f511b92de74 /dev/LibCompiler/AE.h | |
| parent | f6b400b80efc64b918c03352e93ec9de4e2369a1 (diff) | |
dev: stabilizing source code towards an 0.0.1 release.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/AE.h')
| -rw-r--r-- | dev/LibCompiler/AE.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/LibCompiler/AE.h b/dev/LibCompiler/AE.h index 6e5f97f..fcc37a5 100644 --- a/dev/LibCompiler/AE.h +++ b/dev/LibCompiler/AE.h @@ -106,7 +106,7 @@ class AEReadableProtocol final { AERecordHeaderPtr Read(char* raw, std::size_t sz) { if (!raw) return nullptr; - return this->_Read<AERecordHeader>(raw, sz * sizeof(AERecordHeader)); + return this->Read_<AERecordHeader>(raw, sz * sizeof(AERecordHeader)); } private: @@ -119,7 +119,7 @@ class AEReadableProtocol final { * @return TypeClass* the returning class. */ template <typename TypeClass> - TypeClass* _Read(char* raw, std::size_t sz) { + TypeClass* Read_(char* raw, std::size_t sz) { FP.read(raw, std::streamsize(sz)); return reinterpret_cast<TypeClass*>(raw); } |
