mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 20:40:11 +02:00
Use the univeral tresult in IComponent creation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user