mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-04 16:07:38 +00:00
Don't use (deleted) copy constructor, use constructor directly to fix build
This commit is contained in:
parent
bc6f37eecc
commit
928c56bda2
@ -230,7 +230,7 @@ static int send_prop_msg(const prop_msg* msg) {
|
|||||||
static constexpr uint32_t kProtocolVersion1 = 1;
|
static constexpr uint32_t kProtocolVersion1 = 1;
|
||||||
static constexpr uint32_t kProtocolVersion2 = 2; // current
|
static constexpr uint32_t kProtocolVersion2 = 2; // current
|
||||||
|
|
||||||
static atomic_uint_least32_t g_propservice_protocol_version = 0;
|
static atomic_uint_least32_t g_propservice_protocol_version(0);
|
||||||
|
|
||||||
static void detect_protocol_version() {
|
static void detect_protocol_version() {
|
||||||
char value[PROP_VALUE_MAX];
|
char value[PROP_VALUE_MAX];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user