mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Add default return value
This commit is contained in:
parent
f1eb702851
commit
a615076c61
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue