mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[c10] add #pragma once to leftright (#151710)
Summary: i am getting duplicate defn's when including in my binary that already includes the dispatcher. Test Plan: CI Differential Revision: D73237748 Pull Request resolved: https://github.com/pytorch/pytorch/pull/151710 Approved by: https://github.com/georgiaphillips
This commit is contained in:
committed by
PyTorch MergeBot
parent
99aeee2c5f
commit
a35e73b91f
@ -1,3 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <c10/macros/Macros.h>
|
||||
#include <c10/util/Synchronized.h>
|
||||
#include <array>
|
||||
|
Reference in New Issue
Block a user