mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
add #pragma once to stable/library.h (#154920)
This shoulda been there and it was an oversight that it was not! We do not want the same translation unit to process this header multiple times. Pull Request resolved: https://github.com/pytorch/pytorch/pull/154920 Approved by: https://github.com/albanD, https://github.com/Skylion007
This commit is contained in:
parent
6f7694f18f
commit
e8183f8d3d
|
|
@ -1,3 +1,4 @@
|
||||||
|
#pragma once
|
||||||
// this file can only have stable stuff! Akin to shim.h
|
// this file can only have stable stuff! Akin to shim.h
|
||||||
// but unlike shim.h, this file can contain header-only C++
|
// but unlike shim.h, this file can contain header-only C++
|
||||||
// code for better UX.
|
// code for better UX.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user