mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[Reland][7/N] Fix Wextra-semi warning (#140342)
Reland of #140225 to fix a change in FBCODE_CAFFE2 Pull Request resolved: https://github.com/pytorch/pytorch/pull/140342 Approved by: https://github.com/kit1980
This commit is contained in:
@ -460,7 +460,7 @@ def gen_dispatcher_registrations(
|
||||
"""\
|
||||
TORCH_LIBRARY_IMPL(aten, $dispatch_key, m) {
|
||||
$dispatch_registrations_body
|
||||
};"""
|
||||
}"""
|
||||
)
|
||||
static_init_dispatch_registrations = static_template.substitute(
|
||||
dispatch_key=dispatch_key,
|
||||
|
Reference in New Issue
Block a user