[Kernel] Use type constant instead of type enum when calling base constructor.

This commit is contained in:
gibbed
2019-07-29 13:53:44 -05:00
parent 0d6bfc1a6b
commit 7c7d80103e
10 changed files with 14 additions and 19 deletions

View File

@@ -13,7 +13,7 @@ namespace xe {
namespace kernel {
XIOCompletion::XIOCompletion(KernelState* kernel_state)
: XObject(kernel_state, kTypeIOCompletion) {
: XObject(kernel_state, kType) {
notification_semaphore_ = threading::Semaphore::Create(0, kMaxNotifications);
}