From bf21c0e0999ed9b191d019ea2111a54c9c19d795 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 25 Apr 2018 11:41:40 +0100 Subject: [PATCH] MSVC build fixes, ooops --- simgear/structure/subsystem_mgr.cxx | 2 ++ simgear/structure/subsystem_mgr.hxx | 1 + simgear/structure/subsystem_test.cxx | 1 + 3 files changed, 4 insertions(+) diff --git a/simgear/structure/subsystem_mgr.cxx b/simgear/structure/subsystem_mgr.cxx index da180d5b..ac46eeab 100644 --- a/simgear/structure/subsystem_mgr.cxx +++ b/simgear/structure/subsystem_mgr.cxx @@ -167,6 +167,8 @@ std::string SGSubsystem::nameForState(State s) case State::SUSPEND: return "suspend"; case State::RESUME: return "resume"; } + + return {}; } //////////////////////////////////////////////////////////////////////// diff --git a/simgear/structure/subsystem_mgr.hxx b/simgear/structure/subsystem_mgr.hxx index 6b9d5888..26674a02 100644 --- a/simgear/structure/subsystem_mgr.hxx +++ b/simgear/structure/subsystem_mgr.hxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/simgear/structure/subsystem_test.cxx b/simgear/structure/subsystem_test.cxx index fb27a664..cb07e902 100644 --- a/simgear/structure/subsystem_test.cxx +++ b/simgear/structure/subsystem_test.cxx @@ -1,6 +1,7 @@ #include #include +#include #include #include