mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-23 18:37:19 +02:00
use Qt5-compatible writeString() impl
This commit is contained in:
parent
c3543b104b
commit
8b7040d416
@ -150,8 +150,8 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
void writeString(QByteArray &data, std::string value) {
|
||||
data.append(value);
|
||||
void writeString(QByteArray &data, const std::string &value) {
|
||||
data.append(value.c_str());
|
||||
}
|
||||
|
||||
void writePacketToSocket(QByteArray &data) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user