Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PSA: Use nsStringFwd.h for forward declaring strings

23 views
Skip to first unread message

Eric Rahm

unread,
Aug 23, 2017, 3:40:39 PM8/23/17
to dev-platform
Hi all-

In bug 1391803 <https://bugzilla.mozilla.org/show_bug.cgi?id=1391803> I'm
removing all manually forward declared string types and replacing them with
a #include "nsStringFwd.h". Moving forward please use that include file if
you want to forward declare a string class.

In the next few weeks we plan on changing the underlying class names and
statements like 'class nsCString;' will no longer work.

-e
0 new messages