mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ namespace streamfx::nvidia::cv {
|
||||||
static std::shared_ptr<::streamfx::nvidia::cv::cv> get();
|
static std::shared_ptr<::streamfx::nvidia::cv::cv> get();
|
||||||
};
|
};
|
||||||
|
|
||||||
class exception : std::runtime_error {
|
class exception : public std::runtime_error {
|
||||||
result _code;
|
result _code;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue