Revert "[7/N] Fix Wextra-semi warning (#140225)"

This reverts commit ffb979032dc149b4c895526fe5b92d713ed7b1e1.

Reverted https://github.com/pytorch/pytorch/pull/140225 on behalf of https://github.com/kit1980 due to breaking internal builds ([comment](https://github.com/pytorch/pytorch/pull/140225#issuecomment-2469312229))
This commit is contained in:
PyTorch MergeBot
2024-11-12 00:02:06 +00:00
parent 0af38b1034
commit dbb55b448b
27 changed files with 471 additions and 470 deletions

View File

@ -18,7 +18,7 @@
namespace at {
struct Quantizer;
}
};
namespace torch { namespace autograd {
@ -54,6 +54,6 @@ namespace VariableType {
const at::Tensor & unpack(const Tensor & t, const char * name, int pos);
at::Tensor unpack_opt(const Tensor & t, const char * name, int pos);
std::vector<at::Tensor> unpack(const at::ITensorListRef& tl, const char *name, int pos);
}
};
}} // namespace torch::autograd