mirror of
https://github.com/zeldaret/ss
synced 2026-09-04 18:21:47 -04:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user