summaryrefslogtreecommitdiff
path: root/include/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-12 15:14:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-12 17:52:25 +0200
commit27491c28cb67ada0a4c5eaa90eaf589425990582 (patch)
treea0bcb7da815e47af023609cdfbe7e24111445603 /include/sal
parent845cc7aa383fcfc7ae564705fe93a95972bb1052 (diff)
HAVE_CXX11_DELETE is required on all supported toolchains
Change-Id: I53c746be98972c7024dc2f340738182e46c24241
Diffstat (limited to 'include/sal')
-rw-r--r--include/sal/types.h4
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