diff --git a/include/tkDNN/pluginsRT/ReshapeRT.h b/include/tkDNN/pluginsRT/ReshapeRT.h index e56c79c..65d577d 100644 --- a/include/tkDNN/pluginsRT/ReshapeRT.h +++ b/include/tkDNN/pluginsRT/ReshapeRT.h @@ -5,7 +5,6 @@ #include #include #include -using namespace tk::dnn; namespace nvinfer1 { diff --git a/include/tkDNN/utils.h b/include/tkDNN/utils.h index 055ea67..607697a 100644 --- a/include/tkDNN/utils.h +++ b/include/tkDNN/utils.h @@ -27,10 +27,12 @@ -#if NV_TENSORRT_MAJOR > 7 -#define NOEXCEPT noexcept -#else -#define NOEXCEPT +#ifndef NOEXCEPT + #if NV_TENSORRT_MAJOR > 7 + #define NOEXCEPT noexcept + #else + #define NOEXCEPT + #endif #endif