Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -42,9 +42,9 @@
|
||||
// convert fragment to |const string_base_type&|
|
||||
#define TO_SUBSTRING(_v) \
|
||||
( (ptrdiff_t(_v) & 0x1) \
|
||||
? NS_REINTERPRET_CAST(const abstract_string_type*, \
|
||||
? reinterpret_cast<const abstract_string_type*>(\
|
||||
((unsigned long)_v & ~0x1))->ToSubstring() \
|
||||
: *NS_REINTERPRET_CAST(const substring_type*, (_v)) )
|
||||
: *reinterpret_cast<const substring_type*>((_v)) )
|
||||
#endif
|
||||
|
||||
// convert fragment to |const substring_type&|
|
||||
|
||||
Reference in New Issue
Block a user