commit | c25f542dad4009e090f37481de5d2a9013963731 | [log] [tgz] |
---|---|---|
author | PulkoMandy <pulkomandy@pulkomandy.tk> | lun. avr. 10 15:22:01 2023 +0200 |
committer | PulkoMandy <pulkomandy@pulkomandy.tk> | lun. avr. 10 15:22:01 2023 +0200 |
tree | eca74c861adb5be2c5f514c7af2588ac1b0c2a06 | |
parent | a3e9cfee66002bb574a365235351fa467c76ed8f [diff] [blame] |
Missing "const"
diff --git a/BeDC.h b/BeDC.h index 6f8678f..76d32cd 100644 --- a/BeDC.h +++ b/BeDC.h
@@ -62,7 +62,7 @@ } //Send a message - void SendMessage(char *text, int8 type = DC_MESSAGE){ + void SendMessage(const char *text, int8 type = DC_MESSAGE){ BMessage message(BEDC_MESSAGE); message.AddString( "bedc_name", name); message.AddInt8( "bedc_type", type); @@ -179,17 +179,3 @@ }; #endif - - - - - - - - - - - - - -