mesosphere: Result{} => Result()

This commit is contained in:
Michael Scire
2018-11-05 11:40:24 -08:00
parent cd1f74154d
commit 0a0c05481e
4 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,26 @@
#include <mesosphere/processes/KEvent.hpp>
#include <mesosphere/core/KCoreContext.hpp>
#include <mesosphere/processes/KProcess.hpp>
namespace mesosphere
{
KEvent::~KEvent()
{
}
bool KEvent::IsAlive() const
{
return isInitialized;
}
Result KEvent::Initialize()
{
SetClientServerParent();
SetResourceOwner(KCoreContext::GetCurrentInstance().GetCurrentProcess());
isInitialized = true;
return ResultSuccess();
}
}