From f95d8bf159d10b5a9521dcaa0bc37aa0e9dfc02b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 5 May 2024 21:10:18 +0200 Subject: MHR-23: Add run_format.sh, kernel patches. Signed-off-by: Amlal El Mahrouss --- Private/CompilerKit/Detail.hxx | 30 +++++++++++++----------------- Private/CompilerKit/Version.hxx | 2 +- 2 files changed, 14 insertions(+), 18 deletions(-) (limited to 'Private/CompilerKit') diff --git a/Private/CompilerKit/Detail.hxx b/Private/CompilerKit/Detail.hxx index 3a378018..6e10c7f4 100644 --- a/Private/CompilerKit/Detail.hxx +++ b/Private/CompilerKit/Detail.hxx @@ -7,25 +7,21 @@ #pragma once #ifdef __KERNEL__ -# include +#include #endif // ifdef __KERNEL__ -#define NEWOS_COPY_DELETE(KLASS) \ - KLASS &operator=(const KLASS &) = delete; \ - KLASS(const KLASS &) = delete; +#define NEWOS_COPY_DELETE(KLASS) \ + KLASS& operator=(const KLASS&) = delete; \ + KLASS(const KLASS&) = delete; +#define NEWOS_COPY_DEFAULT(KLASS) \ + KLASS& operator=(const KLASS&) = default; \ + KLASS(const KLASS&) = default; -#define NEWOS_COPY_DEFAULT(KLASS) \ - KLASS &operator=(const KLASS &) = default; \ - KLASS(const KLASS &) = default; - - -#define NEWOS_MOVE_DELETE(KLASS) \ - KLASS &operator=(KLASS &&) = delete; \ - KLASS(KLASS &&) = delete; - - -#define NEWOS_MOVE_DEFAULT(KLASS) \ - KLASS &operator=(KLASS &&) = default; \ - KLASS(KLASS &&) = default; +#define NEWOS_MOVE_DELETE(KLASS) \ + KLASS& operator=(KLASS&&) = delete; \ + KLASS(KLASS&&) = delete; +#define NEWOS_MOVE_DEFAULT(KLASS) \ + KLASS& operator=(KLASS&&) = default; \ + KLASS(KLASS&&) = default; diff --git a/Private/CompilerKit/Version.hxx b/Private/CompilerKit/Version.hxx index 068b2189..c0d42603 100644 --- a/Private/CompilerKit/Version.hxx +++ b/Private/CompilerKit/Version.hxx @@ -1,4 +1,4 @@ #pragma once #define BOOTLOADER_VERSION L"v1.14.2" -#define KERNEL_VERSION "v1.14.2" +#define KERNEL_VERSION "v1.14.2" -- cgit v1.2.3