diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-12 15:14:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-12 17:52:25 +0200 |
commit | 27491c28cb67ada0a4c5eaa90eaf589425990582 (patch) | |
tree | a0bcb7da815e47af023609cdfbe7e24111445603 /include | |
parent | configure: make emscripten read from stdin (diff) | |
download | core-27491c28cb67ada0a4c5eaa90eaf589425990582.tar.gz core-27491c28cb67ada0a4c5eaa90eaf589425990582.zip |
HAVE_CXX11_DELETE is required on all supported toolchains
Change-Id: I53c746be98972c7024dc2f340738182e46c24241
Diffstat (limited to 'include')
-rw-r--r-- | include/sal/types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sal/types.h b/include/sal/types.h index bed4979ae32c..da6849ead524 100644 --- a/include/sal/types.h +++ b/include/sal/types.h @@ -392,13 +392,13 @@ namespace css = ::com::sun::star; /** C++11 "= delete" feature. - With HAVE_CXX11_DELETE, calling a deleted function will cause a compile-time + For LIBO_INTERNAL_ONLY, calling a deleted function will cause a compile-time error, while otherwise it will only cause a link-time error as the declared function is not defined. @since LibreOffice 4.1 */ -#if HAVE_CXX11_DELETE +#if defined LIBO_INTERNAL_ONLY #define SAL_DELETED_FUNCTION = delete #else #define SAL_DELETED_FUNCTION |