Skip to content

Commit

Permalink
fix(demo/TensorRT): except in logging.h (#1204)
Browse files Browse the repository at this point in the history
fix(demo/TensorRT): except in logging.h
  • Loading branch information
Ar-Ray-code committed Apr 12, 2022
1 parent c9d1283 commit ad74cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/TensorRT/cpp/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class Logger : public nvinfer1::ILogger
//! Note samples should not be calling this function directly; it will eventually go away once we eliminate the
//! inheritance from nvinfer1::ILogger
//!
void log(Severity severity, const char* msg) override
void log(Severity severity, const char* msg) noexcept override
{
LogStreamConsumer(mReportableSeverity, severity) << "[TRT] " << std::string(msg) << std::endl;
}
Expand Down

0 comments on commit ad74cd0

Please sign in to comment.