ksys: Fix signature of KingEditorComponent::syncData

The buffer needs to be mutable. ActorParamMgr modifies it for example
This commit is contained in:
Léo Lam
2021-04-22 23:36:39 +02:00
parent e631e0dc2b
commit 2015796b80
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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;