Ar-Ray
commited on
Commit
·
9dc5a5a
1
Parent(s):
45944c2
fix(demo/TensorRT): except in logging.h (#1204)
Browse files
demo/TensorRT/cpp/logging.h
CHANGED
@@ -236,7 +236,7 @@ public:
|
|
236 |
//! Note samples should not be calling this function directly; it will eventually go away once we eliminate the
|
237 |
//! inheritance from nvinfer1::ILogger
|
238 |
//!
|
239 |
-
void log(Severity severity, const char* msg) override
|
240 |
{
|
241 |
LogStreamConsumer(mReportableSeverity, severity) << "[TRT] " << std::string(msg) << std::endl;
|
242 |
}
|
|
|
236 |
//! Note samples should not be calling this function directly; it will eventually go away once we eliminate the
|
237 |
//! inheritance from nvinfer1::ILogger
|
238 |
//!
|
239 |
+
void log(Severity severity, const char* msg) noexcept override
|
240 |
{
|
241 |
LogStreamConsumer(mReportableSeverity, severity) << "[TRT] " << std::string(msg) << std::endl;
|
242 |
}
|