Skip to content

Commit 5fd0b93

Browse files
[OS][ww04] - Upstreaming compiler repository - follow up, warnings fix (#46)
1 parent 03d8801 commit 5fd0b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vpux_compiler/src/dialect/VPU/transforms/passes/convert_const_args_to_multi_constants.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Const::RodataBundleOp ConvertConstArgsToMultiConstants::buildRodataBundleOp(Cons
276276
// create 'const.Rodata' op from a 'const.Declare' op, if it doesn't already exist
277277
if (rodataOp == nullptr) {
278278
std::string symName = formatv("{0}{1}", RODATA_PREFIX, _declareOpToRodataOp.getOperationMap().size());
279-
const auto& content = declareOp.getContentAttr().getBaseContent();
279+
auto content = declareOp.getContentAttr().getBaseContent();
280280
rodataOp = dataBodyBuilder.create<Const::RodataOp>(dataOp->getLoc(), symName, content);
281281
_declareOpToRodataOp.map(declareOp, rodataOp);
282282
}

0 commit comments

Comments
 (0)