summaryrefslogtreecommitdiff
path: root/include/JSystem/JMessage/processor.h
diff options
context:
space:
mode:
authorJcw87 <Jcw87@users.noreply.github.com>2025-04-29 09:49:09 -0700
committerGitHub <noreply@github.com>2025-04-29 12:49:09 -0400
commit5e7b59f2fe2f0a7e39d2b7ba6f9e19f3bbdf3254 (patch)
tree07cf9ad7a5f7bf7423c0a520b8d64d024990136d /include/JSystem/JMessage/processor.h
parenteef20535ac9416dcdc8164ecb2c9d4b7bb50f365 (diff)
Improve compiler compatibility (#743)
* fix returns * use standard C headers * struct/class mismatch * explicit this in template * switch variable scope * C standard compliance * & l-value
Diffstat (limited to 'include/JSystem/JMessage/processor.h')
-rw-r--r--include/JSystem/JMessage/processor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/JSystem/JMessage/processor.h b/include/JSystem/JMessage/processor.h
index f55597a5..b63e80be 100644
--- a/include/JSystem/JMessage/processor.h
+++ b/include/JSystem/JMessage/processor.h
@@ -7,7 +7,7 @@ namespace JMessage {
struct TReference;
struct TControl;
-struct TResource;
+class TResource;
struct TProcessor {
public:
@@ -80,7 +80,7 @@ public:
static const char* process_select_(TProcessor*);
void pushCurrent(const char*);
- const char* popCurrent();
+ void popCurrent();
void on_select_begin(OnSelectBeginCallBack, const void*, const char*, u32);
void on_select_end();
void on_select_separate();