aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-03-27 17:26:38 +0000
committergingerBill <bill@gingerbill.org>2021-03-27 17:26:38 +0000
commit818942b72ec3687ca412da6601a7f233547db4d3 (patch)
tree0c28485fb6fcc1df61e055cf3c3d3ba6113bdc78 /src/check_type.cpp
parent9bac9af022362a01e8e1cfe7d08ffc1d23166c2a (diff)
Minor code style change
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index c0654e982..8420c4687 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -575,8 +575,8 @@ void check_struct_type(CheckerContext *ctx, Type *struct_type, Ast *node, Array<
context = str_lit("struct #raw_union");
}
- struct_type->Struct.scope = ctx->scope;
- struct_type->Struct.is_packed = st->is_packed;
+ struct_type->Struct.scope = ctx->scope;
+ struct_type->Struct.is_packed = st->is_packed;
struct_type->Struct.polymorphic_params = check_record_polymorphic_params(
ctx, st->polymorphic_params,
&struct_type->Struct.is_polymorphic,