diff --git a/include/libtransistor/cpp/types.hpp b/include/libtransistor/cpp/types.hpp index 8d2b3930..c03a6bcc 100644 --- a/include/libtransistor/cpp/types.hpp +++ b/include/libtransistor/cpp/types.hpp @@ -127,7 +127,7 @@ class KEvent : public KWaitable { Result WaitSignal(uint64_t timeout); }; -class KDebug : public KObject { +class KDebug : public KWaitable { public: KDebug() = default; KDebug(debug_h handle); diff --git a/lib/cpp/types.cpp b/lib/cpp/types.cpp index ed29c54d..2fb4a00a 100644 --- a/lib/cpp/types.cpp +++ b/lib/cpp/types.cpp @@ -153,7 +153,7 @@ KProcess::KProcess(process_h handle) : KWaitable(handle) { KEvent::KEvent(revent_h handle) : KWaitable(handle) { } -KDebug::KDebug(debug_h handle) : KObject(handle) { +KDebug::KDebug(debug_h handle) : KWaitable(handle) { } KResourceLimit::KResourceLimit(resource_limit_h handle) : KObject(handle) {