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:
Michael Fabian 'Xaymar' Dirks 2021-10-25 19:55:04 +02:00
parent 25dc14f805
commit 939ad35dd7

View file

@ -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: