summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-12-06 00:31:24 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-12-06 02:04:52 +0100
commit4bf96727e32d260b435340b73abc22e32396a9d7 (patch)
tree580d988b323524b8b73c7b2ef7f0485186778fd1 /document
parent23f7bf9b66adc6316c9642b8c29c6aeb93e316b9 (diff)
Port to gcc 8.
Diffstat (limited to 'document')
-rw-r--r--document/src/tests/documentselectparsertest.cpp2
1 files changed, 1 insertions, 1 deletions
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<const char *>(p);