summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-07 11:37:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-07 22:46:49 +0100
commit7d928d8c6eb03c4e5e0d1961e9b62718ab53fb46 (patch)
tree43e827f3debcf3cfbc2c101c10ed2043bc880d9a /config_host
parent74dd206e67c2efb1e56d817be9e42a1ed82e3239 (diff)
HAVE_CXX14_CONSTEXPR is always true now
...but for safety, leave the configure.ac check in for some longer. o3tl::array_view::max_size (include/o3tl/array_view.hxx) and o3tl::basic_string_view::max_size (include/o3tl/string_view.hxx) started to produce loplugin:staticmethods warnings, which I silenced by /not/ making the functions static. Those classes are meant to be temporary drop-in replacements for standard classes (std::span slated for C++20, prev. std::array_view; and std::basic_string_view, resp.), so should have the same behavior as their standard counterparts (and making the functions static would likely cause loplugin:staticaccess warnings at call sites). Change-Id: If21674dbf02886f453ca447544e37b184df5a25e Reviewed-on: https://gerrit.libreoffice.org/64768 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_global.h.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in
index 504594d0081b..605a7fe0ed9d 100644
--- a/config_host/config_global.h.in
+++ b/config_host/config_global.h.in
@@ -12,7 +12,6 @@ Any change in this header will cause a rebuild of almost everything.
#ifndef CONFIG_GLOBAL_H
#define CONFIG_GLOBAL_H
-#define HAVE_CXX14_CONSTEXPR 0
#define HAVE_GCC_BUILTIN_ATOMIC 0
#define HAVE_GCC_BUILTIN_FFS 0
/* _Pragma */