summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 04:21:56 -0500
committerGitHub <noreply@github.com>2025-11-24 04:21:56 -0500
commit0ea8adbf99d0524af96c31c6fa283d9adf483736 (patch)
tree24944801b5106cf8469ca9b74af132f4d15c1d99 /include
parent85f89ee4bb137100cbeffcbc10168eb8ea52e6cc (diff)
parent33f01fc324cbdbed29bd891a994a31221b349417 (diff)
Merge pull request #19 from amlel-el-mahrouss/develop
hotpatch: fix messaging parser uses invalid soh.
Diffstat (limited to 'include')
-rw-r--r--include/ocl/core/chunk_string.hpp2
-rw-r--r--include/ocl/core/error_handler.hpp2
-rw-r--r--include/ocl/core/includes.hpp8
-rw-r--r--include/ocl/fix/fix.hpp3
-rw-r--r--include/ocl/memory/allocator_system.hpp2
-rw-r--r--include/ocl/simd/basic_simd.hpp2
-rw-r--r--include/ocl/simd/simd.hpp2
7 files changed, 13 insertions, 8 deletions
diff --git a/include/ocl/core/chunk_string.hpp b/include/ocl/core/chunk_string.hpp
index 1d922de..ccbc10a 100644
--- a/include/ocl/core/chunk_string.hpp
+++ b/include/ocl/core/chunk_string.hpp
@@ -8,7 +8,7 @@
#ifndef OCL_UTILITY_CHUNK_STRING_HPP
#define OCL_UTILITY_CHUNK_STRING_HPP
-#include <core/includes.hpp>
+#include <core/config.hpp>
#include <io/print.hpp>
#include <cstring>
diff --git a/include/ocl/core/error_handler.hpp b/include/ocl/core/error_handler.hpp
index f761d63..717b522 100644
--- a/include/ocl/core/error_handler.hpp
+++ b/include/ocl/core/error_handler.hpp
@@ -8,7 +8,7 @@
#ifndef _OCL_ERROR_HANDLER_HPP
#define _OCL_ERROR_HANDLER_HPP
-#include <core/includes.hpp>
+#include <core/config.hpp>
#include <io/print.hpp>
namespace ocl
diff --git a/include/ocl/core/includes.hpp b/include/ocl/core/includes.hpp
index 9ed8ffb..8d94cc0 100644
--- a/include/ocl/core/includes.hpp
+++ b/include/ocl/core/includes.hpp
@@ -1,12 +1,16 @@
/*
- * File: core/includes.hpp
- * Purpose: Core includes of the OCL.
+ * File: core/config.hpp
+ * Purpose: Config file of the OCL.
* Author: Amlal El Mahrouss (amlal@nekernel.org)
* Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
*/
#pragma once
+#include <memory>
+#include <iostream>
+#include <string>
+
#include <boost/config.hpp>
#include <boost/core/nvp.hpp>
#include <boost/core/demangle.hpp>
diff --git a/include/ocl/fix/fix.hpp b/include/ocl/fix/fix.hpp
index 0c6685d..85a8b70 100644
--- a/include/ocl/fix/fix.hpp
+++ b/include/ocl/fix/fix.hpp
@@ -136,7 +136,8 @@ namespace ocl::fix
class basic_visitor final
{
public:
- static constexpr const char_type soh = '|';
+ /// AMLALE: Yeah...
+ static constexpr const char_type soh = 0x01;
static constexpr const char_type eq = '=';
static constexpr uint32_t base = 10U;
diff --git a/include/ocl/memory/allocator_system.hpp b/include/ocl/memory/allocator_system.hpp
index 67e3266..345b612 100644
--- a/include/ocl/memory/allocator_system.hpp
+++ b/include/ocl/memory/allocator_system.hpp
@@ -8,7 +8,7 @@
#ifndef _OCL_ALLOCATOR_SYSTEM_HPP
#define _OCL_ALLOCATOR_SYSTEM_HPP
-#include <core/includes.hpp>
+#include <core/config.hpp>
#include <memory>
namespace ocl
diff --git a/include/ocl/simd/basic_simd.hpp b/include/ocl/simd/basic_simd.hpp
index a401dbd..7fba26b 100644
--- a/include/ocl/simd/basic_simd.hpp
+++ b/include/ocl/simd/basic_simd.hpp
@@ -7,7 +7,7 @@
#pragma once
-#include <core/includes.hpp>
+#include <core/config.hpp>
#ifdef __x86_64__
#include <immintrin.h>
diff --git a/include/ocl/simd/simd.hpp b/include/ocl/simd/simd.hpp
index 711bf31..92bb713 100644
--- a/include/ocl/simd/simd.hpp
+++ b/include/ocl/simd/simd.hpp
@@ -7,7 +7,7 @@
#pragma once
-#include <core/includes.hpp>
+#include <core/config.hpp>
/// @author Amlal El Mahrouss
/// @brief Basic SIMD processor.