summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-05-04 15:51:56 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-05-04 15:52:57 +0200
commit135c63c8f9cc363c0895542b0f3bed48b61ea836 (patch)
tree5afa3bcc304e246b38058c2ad7b0d1fd1e76a05f /sal/inc
parentc48fe716225b1b784d657685396b6cf5fee4fc3d (diff)
fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
Diffstat (limited to 'sal/inc')
-rw-r--r--sal/inc/sal/types.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h
index 288c2e75ce74..3db8cf48aff3 100644
--- a/sal/inc/sal/types.h
+++ b/sal/inc/sal/types.h
@@ -350,16 +350,6 @@ typedef struct _sal_Sequence
#pragma pack(pop)
#endif
-
-/* Historical macros, no need to use, old use cases should be replaced
- * by their expansions.
- */
-#ifdef __cplusplus
-#define SAL_CONST_CAST(type, expr) (const_cast< type >(expr))
-#define SAL_REINTERPRET_CAST(type, expr) (reinterpret_cast< type >(expr))
-#define SAL_STATIC_CAST(type, expr) (static_cast< type >(expr))
-#endif /* __cplusplus */
-
/** Definition of function throw clause macros. These have been introduced
to reduce code size by balancing out compiler bugs.