Skip to content

Commit 6ea1d89

Browse files
committed
Upstream compilation fixes.
1 parent 3c0cab9 commit 6ea1d89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/tofino/base/table_executor.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const TableMatchKey *TofinoBaseTableExecutor::computeTargetMatchType(
3636
}
3737
// Action selector entries are not part of the match but we still need to create a key.
3838
if (matchType == TofinoBaseConstants::MATCH_KIND_SELECTOR) {
39-
// cstring keyName = tableName + "_selector_" + fieldName;
40-
return new SelectorMatchKey(symbolicTablePrefix(), fieldName, keyExpression);
39+
cstring keyName = tableName + "_selector_" + fieldName;
40+
return new SelectorMatchKey(symbolicTablePrefix(), keyName, keyExpression);
4141
}
4242
if (matchType == TofinoBaseConstants::MATCH_KIND_RANGE) {
4343
return new RangeTableMatchKey(symbolicTablePrefix(), fieldName, keyExpression);

0 commit comments

Comments
 (0)