Remove SANITIZE2

This commit is contained in:
Behdad Esfahbod 2010-05-04 14:40:55 -04:00
parent c9f14687a3
commit 73c7dbf7f5
2 changed files with 1 additions and 2 deletions

View File

@ -228,7 +228,6 @@ _hb_sanitize_edit (SANITIZE_ARG_DEF,
}
#define SANITIZE(X) likely ((X).sanitize (SANITIZE_ARG))
#define SANITIZE2(X,Y) (SANITIZE (X) && SANITIZE (Y))
#define SANITIZE_THIS(X) likely ((X).sanitize (SANITIZE_ARG, CharP(this)))
#define SANITIZE_THIS2(X,Y) (SANITIZE_THIS (X) && SANITIZE_THIS (Y))

View File

@ -420,7 +420,7 @@ struct Ligature
public:
inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE ();
return SANITIZE2 (ligGlyph, component);
return SANITIZE (ligGlyph) && SANITIZE (component);
}
private: