File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -213,9 +213,9 @@ class DataStreamBasicReader : public BasicReaderBase<Impl> {
213
213
}
214
214
215
215
Qualifiers readQualifiers () {
216
- static_assert (sizeof (Qualifiers ().getAsOpaqueValue ()) <= sizeof (uint32_t ),
216
+ static_assert (sizeof (Qualifiers ().getAsOpaqueValue ()) <= sizeof (uint64_t ),
217
217
" update this if the value size changes" );
218
- uint32_t value = asImpl ().readUInt32 ();
218
+ uint64_t value = asImpl ().readUInt64 ();
219
219
return Qualifiers::fromOpaqueValue (value);
220
220
}
221
221
Original file line number Diff line number Diff line change @@ -196,9 +196,9 @@ class DataStreamBasicWriter : public BasicWriterBase<Impl> {
196
196
}
197
197
198
198
void writeQualifiers (Qualifiers value) {
199
- static_assert (sizeof (value.getAsOpaqueValue ()) <= sizeof (uint32_t ),
199
+ static_assert (sizeof (value.getAsOpaqueValue ()) <= sizeof (uint64_t ),
200
200
" update this if the value size changes" );
201
- asImpl ().writeUInt32 (value.getAsOpaqueValue ());
201
+ asImpl ().writeUInt64 (value.getAsOpaqueValue ());
202
202
}
203
203
204
204
void writeExceptionSpecInfo (
You can’t perform that action at this time.
0 commit comments