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 @@ -178,9 +178,9 @@ class DataStreamBasicReader : public BasicReaderBase<Impl> {
178
178
}
179
179
180
180
Qualifiers readQualifiers () {
181
- static_assert (sizeof (Qualifiers ().getAsOpaqueValue ()) <= sizeof (uint32_t ),
181
+ static_assert (sizeof (Qualifiers ().getAsOpaqueValue ()) <= sizeof (uint64_t ),
182
182
" update this if the value size changes" );
183
- uint32_t value = asImpl ().readUInt32 ();
183
+ uint64_t value = asImpl ().readUInt64 ();
184
184
return Qualifiers::fromOpaqueValue (value);
185
185
}
186
186
Original file line number Diff line number Diff line change @@ -164,9 +164,9 @@ class DataStreamBasicWriter : public BasicWriterBase<Impl> {
164
164
}
165
165
166
166
void writeQualifiers (Qualifiers value) {
167
- static_assert (sizeof (value.getAsOpaqueValue ()) <= sizeof (uint32_t ),
167
+ static_assert (sizeof (value.getAsOpaqueValue ()) <= sizeof (uint64_t ),
168
168
" update this if the value size changes" );
169
- asImpl ().writeUInt32 (value.getAsOpaqueValue ());
169
+ asImpl ().writeUInt64 (value.getAsOpaqueValue ());
170
170
}
171
171
172
172
void writeExceptionSpecInfo (
You can’t perform that action at this time.
0 commit comments