diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-19 19:13:03 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-19 19:13:03 +0200 |
| commit | aad2c069563a3e7318b575216db6deb313445f2c (patch) | |
| tree | 2ba42b767473bebdca9d2538d120f0b4d82194e4 /Kernel/KernelKit/DebugOutput.hpp | |
| parent | c0428f8e5feba9573e572a1a1b3c66cfa1f29108 (diff) | |
MHR-23: Fix run_format.sh, inl files needs to be formated as well.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Kernel/KernelKit/DebugOutput.hpp')
| -rw-r--r-- | Kernel/KernelKit/DebugOutput.hpp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/Kernel/KernelKit/DebugOutput.hpp b/Kernel/KernelKit/DebugOutput.hpp index c6eb4485..594ca701 100644 --- a/Kernel/KernelKit/DebugOutput.hpp +++ b/Kernel/KernelKit/DebugOutput.hpp @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -27,11 +27,11 @@ namespace NewOS { - class TerminalDevice; + class TerminalDevice; - inline TerminalDevice& end_line(); - inline TerminalDevice& number(const Long& x); - inline TerminalDevice& hex_number(const Long& x); + inline TerminalDevice& end_line(); + inline TerminalDevice& number(const Long& x); + inline TerminalDevice& hex_number(const Long& x); // @brief Emulates a VT100 terminal. class TerminalDevice final : public DeviceInterface<const Char*> @@ -40,29 +40,27 @@ namespace NewOS TerminalDevice(void (*print)(const Char*), void (*get)(const Char*)) : DeviceInterface<const Char*>(print, get) { - } virtual ~TerminalDevice() { - } TerminalDevice& Number(const Long Data) noexcept { - number(Data); + number(Data); return *this; } TerminalDevice& HexNumber(const Long Data) noexcept { - hex_number(Data); + hex_number(Data); return *this; } - TerminalDevice& EndLine() noexcept + TerminalDevice& EndLine() noexcept { - end_line(); + end_line(); return *this; } |
