Use the univeral tresult in IComponent creation

This commit is contained in:
Robbert van der Helm
2020-12-11 23:54:30 +01:00
parent 91a47a466c
commit e24cecc6d7
7 changed files with 49 additions and 28 deletions
+3 -3
View File
@@ -16,10 +16,10 @@
#include "base.h"
UniversalTResult::UniversalTResult() : universal_result(Value::kResultFalse) {}
UniversalTResult::UniversalTResult(tresult native_result)
: universal_result(to_universal_result(native_result)) {
//
}
: universal_result(to_universal_result(native_result)) {}
tresult UniversalTResult::native() const {
static_assert(Steinberg::kResultOk == Steinberg::kResultTrue);