mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-18 08:56:10 -04:00
Add default return value
This commit is contained in:
parent
f1eb702851
commit
a615076c61
@ -17,7 +17,8 @@ namespace DetourNavigator
|
|||||||
|
|
||||||
inline std::ostream& operator <<(std::ostream& stream, const Flag value)
|
inline std::ostream& operator <<(std::ostream& stream, const Flag value)
|
||||||
{
|
{
|
||||||
switch (value) {
|
switch (value)
|
||||||
|
{
|
||||||
case Flag_none:
|
case Flag_none:
|
||||||
return stream << "none";
|
return stream << "none";
|
||||||
case Flag_walk:
|
case Flag_walk:
|
||||||
@ -27,6 +28,8 @@ namespace DetourNavigator
|
|||||||
case Flag_openDoor:
|
case Flag_openDoor:
|
||||||
return stream << "openDoor";
|
return stream << "openDoor";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return stream;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct WriteFlags
|
struct WriteFlags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user