extern NS_GFX FILE* operator<<(FILE* out, const nsRect& rect);

should be #ifdef DEBUG
rs=tor
This commit is contained in:
caillon%redhat.com 2004-04-22 21:36:53 +00:00
parent bc08dc36da
commit 9a3f834070
2 changed files with 5 additions and 0 deletions

View File

@ -152,7 +152,9 @@ struct NS_GFX nsRect {
nscoord YMost() const {return y + height;}
};
#ifdef DEBUG
// Diagnostics
extern NS_GFX FILE* operator<<(FILE* out, const nsRect& rect);
#endif // DEBUG
#endif /* NSRECT_H */

View File

@ -203,6 +203,7 @@ nsRect& nsRect::ScaleRoundIn(const float aScale)
return *this;
}
#ifdef DEBUG
// Diagnostics
FILE* operator<<(FILE* out, const nsRect& rect)
@ -222,3 +223,5 @@ FILE* operator<<(FILE* out, const nsRect& rect)
fputs(NS_LossyConvertUCS2toASCII(tmp).get(), out);
return out;
}
#endif // DEBUG