зеркало из https://github.com/mozilla/gecko-dev.git
Fix build bustage on Solaris Workshop compiler.
This commit is contained in:
Родитель
f835a34327
Коммит
79215cf024
|
@ -114,8 +114,11 @@ static NS_DEFINE_CID(kXULSortServiceCID, NS_XULSORTSERVICE_CID);
|
|||
|
||||
#ifdef DEBUG
|
||||
|
||||
// XXX the aValue argument is really "const", but since it's probably
|
||||
// an nsISupports, and QueryInterface(), AddRef() and Release() are
|
||||
// not "const" methods, we need to let it be mutable.
|
||||
static nsISupports*
|
||||
value_to_isupports(const nsIID& aIID, const Value& aValue)
|
||||
value_to_isupports(const nsIID& aIID, /*const*/ Value& aValue)
|
||||
{
|
||||
nsresult rv;
|
||||
nsISupports* isupports = NS_STATIC_CAST(nsISupports*, aValue);
|
||||
|
|
|
@ -114,8 +114,11 @@ static NS_DEFINE_CID(kXULSortServiceCID, NS_XULSORTSERVICE_CID);
|
|||
|
||||
#ifdef DEBUG
|
||||
|
||||
// XXX the aValue argument is really "const", but since it's probably
|
||||
// an nsISupports, and QueryInterface(), AddRef() and Release() are
|
||||
// not "const" methods, we need to let it be mutable.
|
||||
static nsISupports*
|
||||
value_to_isupports(const nsIID& aIID, const Value& aValue)
|
||||
value_to_isupports(const nsIID& aIID, /*const*/ Value& aValue)
|
||||
{
|
||||
nsresult rv;
|
||||
nsISupports* isupports = NS_STATIC_CAST(nsISupports*, aValue);
|
||||
|
|
Загрузка…
Ссылка в новой задаче