aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-06-29 19:11:36 +0100
committergingerBill <bill@gingerbill.org>2024-06-29 19:11:36 +0100
commit5413a8b744deba571287cc830e017369c46e847b (patch)
treeac4cfbdf14ac5368cbc0c9a1d1b581111927f595 /core/encoding
parent3f9a58808cd95946043ab38523588aec5d8c68dc (diff)
Even more style fixes
Diffstat (limited to 'core/encoding')
-rw-r--r--core/encoding/cbor/coding.odin2
-rw-r--r--core/encoding/cbor/marshal.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/encoding/cbor/coding.odin b/core/encoding/cbor/coding.odin
index 07f0637a6..f82dc4b81 100644
--- a/core/encoding/cbor/coding.odin
+++ b/core/encoding/cbor/coding.odin
@@ -233,7 +233,7 @@ encode_into_encoder :: proc(e: Encoder, v: Value, loc := #caller_location) -> En
if .Self_Described_CBOR in e.flags {
_encode_u64(e, TAG_SELF_DESCRIBED_CBOR, .Tag) or_return
- e.flags &~= { .Self_Described_CBOR }
+ e.flags -= { .Self_Described_CBOR }
}
switch v_spec in v {
diff --git a/core/encoding/cbor/marshal.odin b/core/encoding/cbor/marshal.odin
index 775eafd9c..d64d22d9c 100644
--- a/core/encoding/cbor/marshal.odin
+++ b/core/encoding/cbor/marshal.odin
@@ -85,7 +85,7 @@ marshal_into_encoder :: proc(e: Encoder, v: any, loc := #caller_location) -> (e
if .Self_Described_CBOR in e.flags {
err_conv(_encode_u64(e, TAG_SELF_DESCRIBED_CBOR, .Tag)) or_return
- e.flags &~= { .Self_Described_CBOR }
+ e.flags -= { .Self_Described_CBOR }
}
if v == nil {