summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/AE.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-23 09:39:34 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-23 09:39:34 +0100
commit2a16b53aaf4b38f5e63ce69c96df65b24e26b82b (patch)
tree60991dbc4a93364c3208435e8e3a0b8b2ef8ea2b /include/CompilerKit/AE.h
parent0d197225d9c90123df67a752479f890de5ebe413 (diff)
wip: cppfront: Implementing C++ part of the frontend.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/AE.h')
-rw-r--r--include/CompilerKit/AE.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/CompilerKit/AE.h b/include/CompilerKit/AE.h
index 211f596..a8fe0a7 100644
--- a/include/CompilerKit/AE.h
+++ b/include/CompilerKit/AE.h
@@ -106,7 +106,7 @@ class AEReadableProtocol final {
NECTAR_COPY_DELETE(AEReadableProtocol)
/**
- * @brief Read AE Record headers.
+ * @brief Reads the AE Record headers.
*
* @param raw the containing buffer
* @param sz it's size (1 = one AERecordHeader, 2 two AERecordHeader(s))
@@ -114,7 +114,6 @@ class AEReadableProtocol final {
*/
AERecordHeaderPtr Read(char* raw, std::size_t sz) {
if (!raw) return nullptr;
-
return this->Read_<AERecordHeader>(raw, sz * sizeof(AERecordHeader));
}