summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKAKit/NewKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZKAKit/NewKit')
-rw-r--r--dev/ZKAKit/NewKit/Array.h2
-rw-r--r--dev/ZKAKit/NewKit/Defines.h1
-rw-r--r--dev/ZKAKit/NewKit/Json.h4
-rw-r--r--dev/ZKAKit/NewKit/KString.h8
4 files changed, 8 insertions, 7 deletions
diff --git a/dev/ZKAKit/NewKit/Array.h b/dev/ZKAKit/NewKit/Array.h
index 6caa5b2d..28060857 100644
--- a/dev/ZKAKit/NewKit/Array.h
+++ b/dev/ZKAKit/NewKit/Array.h
@@ -17,7 +17,7 @@ namespace Kernel
{
public:
explicit Array() = default;
- ~Array() = default;
+ ~Array() = default;
Array& operator=(const Array&) = default;
Array(const Array&) = default;
diff --git a/dev/ZKAKit/NewKit/Defines.h b/dev/ZKAKit/NewKit/Defines.h
index dd9439b6..f43472af 100644
--- a/dev/ZKAKit/NewKit/Defines.h
+++ b/dev/ZKAKit/NewKit/Defines.h
@@ -61,6 +61,7 @@ namespace Kernel
typedef UIntPtr* Ptr64;
typedef UInt32* Ptr32;
+ typedef UInt8* Ptr8;
using Utf8Char = char8_t;
using Utf16Char = char16_t;
diff --git a/dev/ZKAKit/NewKit/Json.h b/dev/ZKAKit/NewKit/Json.h
index 1ca5fae1..05b24808 100644
--- a/dev/ZKAKit/NewKit/Json.h
+++ b/dev/ZKAKit/NewKit/Json.h
@@ -27,7 +27,7 @@ namespace Kernel
public:
explicit JSON()
{
- auto len = cJSONLen;
+ auto len = cJSONLen;
KString key = KString(len);
key += cJSONNull;
@@ -50,7 +50,7 @@ namespace Kernel
}
private:
- Bool fUndefined; // is this instance undefined?
+ Bool fUndefined; // is this instance undefined?
KString fKey;
KString fValue;
diff --git a/dev/ZKAKit/NewKit/KString.h b/dev/ZKAKit/NewKit/KString.h
index 5082f5fa..38cfe330 100644
--- a/dev/ZKAKit/NewKit/KString.h
+++ b/dev/ZKAKit/NewKit/KString.h
@@ -86,9 +86,9 @@ namespace Kernel
struct StringBuilder final
{
static ErrorOr<KString> Construct(const Char* data);
- static const Char* FromBool(const Char* fmt, bool n);
- static const Char* Format(const Char* fmt, const Char* from);
- static bool Equals(const Char* lhs, const Char* rhs);
- static bool Equals(const WideChar* lhs, const WideChar* rhs);
+ static const Char* FromBool(const Char* fmt, bool n);
+ static const Char* Format(const Char* fmt, const Char* from);
+ static bool Equals(const Char* lhs, const Char* rhs);
+ static bool Equals(const WideChar* lhs, const WideChar* rhs);
};
} // namespace Kernel