Skip to content

Commit

Permalink
Fix build with compilers other than Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkive committed Jan 21, 2017
1 parent dc71d9d commit 67330a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/widgets/addon_list.cpp
Expand Up @@ -23,6 +23,7 @@
#include "gui/widgets/listbox.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/stacked_widget.hpp"
#include "wml_exception.hpp"

namespace gui2
{
Expand Down Expand Up @@ -188,7 +189,7 @@ static widget::visibility parse_visibility(const std::string& str)
} else if(str == "invisible") {
return widget::visibility::invisible;
} else {
throw std::exception("Invalid visibility value");
FAIL("Invalid visibility value");
}
}

Expand Down

0 comments on commit 67330a1

Please sign in to comment.