mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1344629 - Part 10: Bonus fix: Remove NS_LITERAL_STRING_INIT macros. r=dbaron
As of the previous patch, these are now unused and aren't really buying us much. MozReview-Commit-ID: HGliIFAcBb7 --HG-- extra : rebase_source : f39105fcb15e1c7eccae5088b34352e849f1b2b6
This commit is contained in:
parent
1b75e4c73d
commit
84c2879b84
@ -23,11 +23,9 @@
|
||||
#include "mozilla/Char16.h"
|
||||
|
||||
#define NS_LITERAL_STRING(s) static_cast<const nsLiteralString&>(nsLiteralString(u"" s))
|
||||
#define NS_LITERAL_STRING_INIT(n,s) n(u"" s)
|
||||
#define NS_NAMED_LITERAL_STRING(n,s) const nsLiteralString n(u"" s)
|
||||
|
||||
#define NS_LITERAL_CSTRING(s) static_cast<const nsLiteralCString&>(nsLiteralCString("" s))
|
||||
#define NS_LITERAL_CSTRING_INIT(n,s) n("" s)
|
||||
#define NS_NAMED_LITERAL_CSTRING(n,s) const nsLiteralCString n("" s)
|
||||
|
||||
#endif /* !defined(nsLiteralString_h___) */
|
||||
|
Loading…
Reference in New Issue
Block a user