mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Summary: Removes `using namespace` from a header file. Having `using namespace` in a header file is *always* a bad idea. A previous raft of diffs provided appropriate qualifications to everything that relied on this `using namespace`, so it is now safe to remove it in this separate diff. Helps us enable `-Wheader-hygiene`. Test Plan: Sandcastle Reviewed By: dmm-fb Differential Revision: D54838298 Pull Request resolved: https://github.com/pytorch/pytorch/pull/121847 Approved by: https://github.com/Skylion007