remove using namespace useless
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
#include <NvInfer.h>
|
#include <NvInfer.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <tkdnn.h>
|
#include <tkdnn.h>
|
||||||
using namespace tk::dnn;
|
|
||||||
|
|
||||||
|
|
||||||
namespace nvinfer1 {
|
namespace nvinfer1 {
|
||||||
|
|||||||
@@ -27,10 +27,12 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if NV_TENSORRT_MAJOR > 7
|
#ifndef NOEXCEPT
|
||||||
#define NOEXCEPT noexcept
|
#if NV_TENSORRT_MAJOR > 7
|
||||||
#else
|
#define NOEXCEPT noexcept
|
||||||
#define NOEXCEPT
|
#else
|
||||||
|
#define NOEXCEPT
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user