Closed Red-exe-Engineer closed 1 year ago
I don't think this does anything, except add a implict conversation from char*
to std::string
. Have you had problems that were fixed because of this?
I don't think this does anything, except add a implict conversation from
char*
tostd::string
. Have you had problems that were fixed because of this?
Yes, before pollChatPosts()
would return ["<Wallee> "]
(not including the message) and logging text
spat out garbage, using .c_str()
fixed both of these.
I cannot reproduce this, sorry.
Use
text.c_str()
when pushing tochat_log
.