From 67bc5e8a9632028f9d5f44da9eafa38f0b59dfef Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 2 Oct 2020 14:46:33 +0300 Subject: Small Property improvements Signed-off-by: Tomi Valkeinen --- kms++/src/drmpropobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kms++/src') diff --git a/kms++/src/drmpropobject.cpp b/kms++/src/drmpropobject.cpp index 74f8848..c78f70a 100644 --- a/kms++/src/drmpropobject.cpp +++ b/kms++/src/drmpropobject.cpp @@ -54,7 +54,7 @@ Property* DrmPropObject::get_prop(const string& name) const return prop; } - throw invalid_argument(string("property ") + name + " not found"); + return nullptr; } uint64_t DrmPropObject::get_prop_value(uint32_t id) const -- cgit v1.2.3