mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-05 07:32:36 +00:00
Fix -Wreorder warning.
llvm-svn: 302294
This commit is contained in:
parent
4cd809297d
commit
0f5f038bf0
@ -64,8 +64,10 @@ class VarStreamArrayIterator
|
|||||||
public:
|
public:
|
||||||
VarStreamArrayIterator() = default;
|
VarStreamArrayIterator() = default;
|
||||||
VarStreamArrayIterator(const ArrayType &Array, const WrappedCtx &Ctx,
|
VarStreamArrayIterator(const ArrayType &Array, const WrappedCtx &Ctx,
|
||||||
BinaryStreamRef Stream, bool *HadError = nullptr, uint32_t Offset = 0)
|
BinaryStreamRef Stream, bool *HadError = nullptr,
|
||||||
: IterRef(Stream), Ctx(&Ctx), Array(&Array), HadError(HadError), AbsOffset(Offset) {
|
uint32_t Offset = 0)
|
||||||
|
: IterRef(Stream), Ctx(&Ctx), Array(&Array), AbsOffset(Offset),
|
||||||
|
HadError(HadError) {
|
||||||
if (IterRef.getLength() == 0)
|
if (IterRef.getLength() == 0)
|
||||||
moveToEnd();
|
moveToEnd();
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user