Skip to content

Commit

Permalink
Migration rules for mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
cvet committed Dec 27, 2024
1 parent 93d125d commit e0e9b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BuildTools/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@ def replaceFakedEnum(t):
# restoreLines.append('')

# Migration rules
if target in ['Server', 'Baker'] and not isASCompiler:
if target in ['Server', 'Baker', 'Mapper'] and not isASCompiler:
registerLines.append('const auto to_hstring = [engine](string_view str) -> hstring { return engine->ToHashedString(str); };')
registerLines.append('')
registerLines.append('engine->RegisterMigrationRules({')
Expand Down

0 comments on commit e0e9b39

Please sign in to comment.