Skip to content

Commit 9bbdf21

Browse files
committed
use braced initialization
1 parent b0a6935 commit 9bbdf21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Semantics/expression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ static void CheckSubscripts(
421421

422422
static void CheckSubscripts(
423423
semantics::SemanticsContext &context, CoarrayRef &ref) {
424-
const auto &base = ref.GetBase();
424+
const auto &base{ref.GetBase()};
425425
const Symbol &coarraySymbol{base.GetLastSymbol()};
426426
Shape lb, ub;
427427
if (FoldSubscripts(context, coarraySymbol, ref.subscript(), lb, ub)) {

0 commit comments

Comments
 (0)