From 4bf96727e32d260b435340b73abc22e32396a9d7 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Sun, 6 Dec 2020 00:31:24 +0100 Subject: Port to gcc 8. --- document/src/tests/documentselectparsertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'document') diff --git a/document/src/tests/documentselectparsertest.cpp b/document/src/tests/documentselectparsertest.cpp index ab7f2cf1972..0830c84fe39 100644 --- a/document/src/tests/documentselectparsertest.cpp +++ b/document/src/tests/documentselectparsertest.cpp @@ -1234,7 +1234,7 @@ TEST_F(DocumentSelectParserTest, testDocumentIdsInRemoves) namespace { -#if __cplusplus > 201703L +#if defined(__cpp_char8_t) const char * char_from_u8(const char8_t * p) { return reinterpret_cast(p); -- cgit v1.2.3