mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-05 10:11:32 +00:00
Use proper type to cast enum value
This commit is contained in:
parent
204ab6fea3
commit
de80b86cc1
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ namespace DetourNavigator
|
||||||
case JobStatus::Fail: return stream << "JobStatus::Fail";
|
case JobStatus::Fail: return stream << "JobStatus::Fail";
|
||||||
case JobStatus::MemoryCacheMiss: return stream << "JobStatus::MemoryCacheMiss";
|
case JobStatus::MemoryCacheMiss: return stream << "JobStatus::MemoryCacheMiss";
|
||||||
}
|
}
|
||||||
return stream << "JobStatus::" << static_cast<std::underlying_type_t<JobState>>(value);
|
return stream << "JobStatus::" << static_cast<std::underlying_type_t<JobStatus>>(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
Job::Job(const AgentBounds& agentBounds, std::weak_ptr<GuardedNavMeshCacheItem> navMeshCacheItem,
|
Job::Job(const AgentBounds& agentBounds, std::weak_ptr<GuardedNavMeshCacheItem> navMeshCacheItem,
|
||||||
|
|
Loading…
Reference in a new issue