From 7258fbf7c8785a3390441bbbac44d78b2e4facbf Mon Sep 17 00:00:00 2001 From: Amlal Date: Fri, 25 Apr 2025 22:58:37 +0200 Subject: dev: stabilizing source code towards an 0.0.1 release. Signed-off-by: Amlal --- dev/LibCompiler/AE.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/LibCompiler/AE.h') 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(raw, sz * sizeof(AERecordHeader)); + return this->Read_(raw, sz * sizeof(AERecordHeader)); } private: @@ -119,7 +119,7 @@ class AEReadableProtocol final { * @return TypeClass* the returning class. */ template - 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(raw); } -- cgit v1.2.3