Commit a615076c authored by Andrei Kortunov's avatar Andrei Kortunov

Add default return value

parent f1eb7028
......@@ -17,7 +17,8 @@ namespace DetourNavigator
inline std::ostream& operator <<(std::ostream& stream, const Flag value)
{
switch (value) {
switch (value)
{
case Flag_none:
return stream << "none";
case Flag_walk:
......@@ -27,6 +28,8 @@ namespace DetourNavigator
case Flag_openDoor:
return stream << "openDoor";
}
return stream;
}
struct WriteFlags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment