summaryrefslogtreecommitdiffhomepage
path: root/Kernel
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-06 00:01:14 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-06 00:01:14 +0200
commite477d85ffea45a92aea7a2942bdfb9240fed80bc (patch)
tree7961df92ca195b0f29d131ccc755581b4f71da45 /Kernel
parenta671de4f336e7e9d67a7e237e0f94ccd334230ee (diff)
FIX: warnings given by clangd.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/KernelKit/FileManager.hpp5
-rw-r--r--Kernel/Sources/KeMain.cxx6
-rw-r--r--Kernel/Sources/Property.cxx3
3 files changed, 9 insertions, 5 deletions
diff --git a/Kernel/KernelKit/FileManager.hpp b/Kernel/KernelKit/FileManager.hpp
index b234ba2b..7f16cfa0 100644
--- a/Kernel/KernelKit/FileManager.hpp
+++ b/Kernel/KernelKit/FileManager.hpp
@@ -16,16 +16,17 @@
#pragma once
-#include "NewKit/Utils.hpp"
#ifdef __FSKIT_USE_NEWFS__
#include <FSKit/NewFS.hxx>
#endif // __FSKIT_USE_NEWFS__
#include <CompilerKit/CompilerKit.hxx>
#include <HintKit/CompilerHint.hxx>
-#include <NewKit/Ref.hpp>
#include <KernelKit/HError.hpp>
+#include <KernelKit/DebugOutput.hpp>
#include <NewKit/Stream.hpp>
+#include <NewKit/ErrorOr.hpp>
+#include <NewKit/Ref.hpp>
/// @brief Filesystem abstraction manager.
/// Works like the VFS or IFS.
diff --git a/Kernel/Sources/KeMain.cxx b/Kernel/Sources/KeMain.cxx
index 099ade0c..0ba882af 100644
--- a/Kernel/Sources/KeMain.cxx
+++ b/Kernel/Sources/KeMain.cxx
@@ -122,7 +122,8 @@ namespace Kernel::Detail
if (catalogDisk)
{
auto bufferInfoDisk = (Kernel::Char*)this->fNewFS->GetParser()->ReadCatalog(catalogDisk, kNewFSSectorSz, cSrcName);
- Kernel::kcout << bufferInfoDisk << Kernel::end_line();
+ Kernel::kcout << bufferInfoDisk;
+ Kernel::end_line();
delete bufferInfoDisk;
delete catalogDisk;
@@ -162,7 +163,8 @@ namespace Kernel::Detail
(Kernel::VoidPtr)diskFolder.CData(),
kNewFSSectorSz, cSrcName);
- Kernel::kcout << diskFolder.CData() << Kernel::end_line();
+ Kernel::kcout << diskFolder.CData();
+ Kernel::end_line();
delete catalogDisk;
}
diff --git a/Kernel/Sources/Property.cxx b/Kernel/Sources/Property.cxx
index db1e0579..debf07a4 100644
--- a/Kernel/Sources/Property.cxx
+++ b/Kernel/Sources/Property.cxx
@@ -11,7 +11,8 @@ namespace Kernel
Property::Property(const StringView& sw)
: fName(sw)
{
- kcout << "Property: created: " << sw.CData() << endl;
+ kcout << "newoskrnl: Property created: " << sw.CData();
+ endl;
}
Property::~Property() = default;