summaryrefslogtreecommitdiff
path: root/include/sized_string.h
diff options
context:
space:
mode:
authorElijah Thomas <42302100+elijah-thomas774@users.noreply.github.com>2024-10-16 15:36:02 -0400
committerGitHub <noreply@github.com>2024-10-16 15:36:02 -0400
commit26af4db82da23364961ebb440efba88846240731 (patch)
tree9cfe6a427cfe59c13c64928ccef6ba3c5ccfec21 /include/sized_string.h
parent4543ec129ec02649b24ae0e20d8325a5f066c9b1 (diff)
update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
Diffstat (limited to 'include/sized_string.h')
-rw-r--r--include/sized_string.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sized_string.h b/include/sized_string.h
index e5c63521..9d06409b 100644
--- a/include/sized_string.h
+++ b/include/sized_string.h
@@ -1,14 +1,16 @@
#ifndef SIZED_STRING_H
#define SIZED_STRING_H
-#include <MSL_C/string.h>
+#include "__va_arg.h"
+#include "common.h"
+#include "string.h"
extern "C" bool strequals(const char *a, const char *b);
/**
* A statically sized string buffer used for resource
* identification where strings are guaranteed to be short.
- *
+ *
* Note: We aren't aware of any other projects that use a similar
* class and given that SS has no debugging info anywhere it's hard
* to be certain about anything.
@@ -59,7 +61,7 @@ struct SizedString {
}
}
- bool operator==(const char* other) const {
+ bool operator==(const char *other) const {
return strequals(mChars, other);
}