Support GCC 4.9

This commit is contained in:
Simon Brand
2017-10-21 22:21:49 +01:00
parent 921db962ec
commit 310c5220e6
4 changed files with 22 additions and 21 deletions

View File

@@ -8,7 +8,7 @@
REQUIRE(e);
TEST_CASE("Constexpr", "[constexpr]") {
#if !(_MSC_VER == 1900)
#if !defined(TL_OPTIONAL_MSVC2015) && !defined(TL_OPTIONAL_GCC49)
SECTION("empty construct") {
constexpr tl::optional<int> o2{};
constexpr tl::optional<int> o3 = {};