1
0
Fork 1
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:
Andrei Kortunov 2018-10-31 10:18:29 +04:00
parent f1eb702851
commit a615076c61

View file

@ -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