nvidia/cv: Publicly inherit from std::runtime_error
It wasn't possible to cast these exceptions to the underlying type, so they were treated as unknown exceptions.
This commit is contained in:
parent
25dc14f805
commit
939ad35dd7
|
@ -288,7 +288,7 @@ namespace streamfx::nvidia::cv {
|
|||
static std::shared_ptr<::streamfx::nvidia::cv::cv> get();
|
||||
};
|
||||
|
||||
class exception : std::runtime_error {
|
||||
class exception : public std::runtime_error {
|
||||
result _code;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue