From 3963e70391d108905ccba962ad7af377712b3202 Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Wed, 28 Jun 2023 22:52:44 -0500 Subject: [PATCH] Better header guards for including. --- include/Core.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/Core.h b/include/Core.h index d6f16c5..7a54094 100644 --- a/include/Core.h +++ b/include/Core.h @@ -316,9 +316,11 @@ struct GraphManager { }; }; // namespace CudaTools +#endif // CUDATOOLS_H #ifdef CUDATOOLS_IMPLEMENTATION - +#ifndef __CUDATOOLS_IMPLEMENTED__ +#define __CUDATOOLS_IMPLEMENTED__ namespace CudaTools { ////////////////////// @@ -677,6 +679,5 @@ void GraphManager::joinBranch(const StreamID& orig_stream, const StreamID& branc } }; // namespace CudaTools +#endif #endif // CUDATOOLS_IMPLEMENTATION - -#endif // CUDATOOLS_H