Skip to content

Commit e93076c

Browse files
committed
Drop uncessary decltype.
Signed-off-by: Julian Oppermann <[email protected]>
1 parent 58d035d commit e93076c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,7 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
415415
MDesc.saveSplitInformationAsMetadata();
416416

417417
RTCBundleInfo BundleInfo;
418-
BundleInfo.SymbolTable =
419-
decltype(BundleInfo.SymbolTable){MDesc.entries().size()};
418+
BundleInfo.SymbolTable = FrozenSymbolTable{MDesc.entries().size()};
420419
transform(MDesc.entries(), BundleInfo.SymbolTable.begin(),
421420
[](Function *F) { return F->getName(); });
422421

@@ -431,7 +430,7 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
431430
// `saveModuleProperties`?
432431
const auto &PropertySets = Properties.getPropSets();
433432

434-
BundleInfo.Properties = decltype(BundleInfo.Properties){PropertySets.size()};
433+
BundleInfo.Properties = FrozenPropertyRegistry{PropertySets.size()};
435434
for (auto &&[KV, FrozenPropSet] : zip(PropertySets, BundleInfo.Properties)) {
436435
const auto &PropertySetName = KV.first;
437436
const auto &PropertySet = KV.second;

0 commit comments

Comments
 (0)