summaryrefslogtreecommitdiff
path: root/src/KingSystem/System
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-04-22 23:36:39 +0200
committerLéo Lam <leo@leolam.fr>2021-04-22 23:39:46 +0200
commit2015796b8014cdbdd472cb1140361e050ceaf758 (patch)
treefb0e437ea42595d7a05a395bf41087f11fce6a49 /src/KingSystem/System
parente631e0dc2b3d920f36eeec01413c22195928d885 (diff)
ksys: Fix signature of KingEditorComponent::syncData
The buffer needs to be mutable. ActorParamMgr modifies it for example
Diffstat (limited to 'src/KingSystem/System')
-rw-r--r--src/KingSystem/System/KingEditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/System/KingEditor.h b/src/KingSystem/System/KingEditor.h
index ec310f3c..25b40aa1 100644
--- a/src/KingSystem/System/KingEditor.h
+++ b/src/KingSystem/System/KingEditor.h
@@ -10,7 +10,7 @@ namespace ksys {
class KingEditorComponent {
public:
virtual const char* getName() const = 0;
- virtual void syncData(const char* data) = 0;
+ virtual void syncData(char* data) = 0;
void log(const char* message, void* x = {}, int y = {}) const;