diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 13:27:04 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 13:27:04 +0100 |
commit | 5742868ccf030b2c0f03538d030bd18bd5666bdb (patch) | |
tree | 0edb481795ea92828d4724933e2115a4ddd43af8 /include | |
parent | 1cfedbc960d25ee322b0a0e7aae8dc73758b406e (diff) |
[API CHANGE] Remove SAL_CONSTEXPR again
...now that LIBO_INTERNAL_ONLY always has constexpr support.
It had been added for LO 5.0 (effectively always expanding to nothing for
!LIBO_INTERNAL_ONLY), not wrapped in '#if LIBO_INTERNAL_ONLY' presumably because
it was assumed to be used freely in URE include files, but turned out to be only
used in LIBO_INTERNAL_ONLY code. It is unlikely that any 3rd party code made
use of it.
Change-Id: I68970c5a2e2d7ef68ac5b79efc8dc1de54c43198
Diffstat (limited to 'include')
-rw-r--r-- | include/sal/types.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/sal/types.h b/include/sal/types.h index 9da283b383fe..6616670fcb01 100644 --- a/include/sal/types.h +++ b/include/sal/types.h @@ -418,16 +418,6 @@ namespace css = ::com::sun::star; #define SAL_FINAL #endif -/** C++11 "constexpr" feature. - - @since LibreOffice 5.0 -*/ -#if defined LIBO_INTERNAL_ONLY -#define SAL_CONSTEXPR constexpr -#else -#define SAL_CONSTEXPR -#endif - #if defined LIBO_INTERNAL_ONLY #if defined __clang__ #define SAL_FALLTHROUGH [[clang::fallthrough]] |