This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 02307ab  Fixed Debian 9/gcc6 string_view test
02307ab is described below

commit 02307abc09c8f427fce183e7f915386f6f1411dc
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed Apr 11 14:30:21 2018 -0700

    Fixed Debian 9/gcc6 string_view test
---
 lib/ts/unit-tests/test_string_view.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ts/unit-tests/test_string_view.cc 
b/lib/ts/unit-tests/test_string_view.cc
index a9bbace..f1a28aa 100644
--- a/lib/ts/unit-tests/test_string_view.cc
+++ b/lib/ts/unit-tests/test_string_view.cc
@@ -294,7 +294,7 @@ TEST_CASE("Access & iterators", "[string_view] [access]")
     REQUIRE_THROWS_AS(sv.at(100), std::out_of_range);
     REQUIRE_THROWS_AS(sv.at(-1), std::out_of_range);
 
-#if defined(_DEBUG) && __cplusplus <= 201103L
+#if defined(_DEBUG) && __cplusplus <= 201402L
     REQUIRE_THROWS_AS(sv[100], std::out_of_range);
     REQUIRE_THROWS_AS(sv[-1], std::out_of_range);
 #else

-- 
To stop receiving notification emails like this one, please contact
bc...@apache.org.

Reply via email to