mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-24 02:42:15 +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) {
|
void writeString(QByteArray &data, const std::string &value) {
|
||||||
data.append(value);
|
data.append(value.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void writePacketToSocket(QByteArray &data) {
|
void writePacketToSocket(QByteArray &data) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user