Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
KDebug should inherit from KWaitable
Browse files Browse the repository at this point in the history
  • Loading branch information
misson20000 committed Sep 1, 2018
1 parent d032fc5 commit c4c5db4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/libtransistor/cpp/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class KEvent : public KWaitable {
Result<std::nullopt_t> WaitSignal(uint64_t timeout);
};

class KDebug : public KObject {
class KDebug : public KWaitable {
public:
KDebug() = default;
KDebug(debug_h handle);
Expand Down
2 changes: 1 addition & 1 deletion lib/cpp/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c4c5db4

Please sign in to comment.