Remove NO_COPY()

This commit is contained in:
Behdad Esfahbod 2017-11-03 16:31:47 -04:00
parent 97145df249
commit 384862d7ee
2 changed files with 3 additions and 9 deletions

View File

@ -99,7 +99,9 @@ struct hb_ot_shape_planner_t
}
private:
NO_COPY (hb_ot_shape_planner_t);
/* No copy. */
hb_ot_shape_planner_t (const hb_ot_shape_planner_t &);
hb_ot_shape_planner_t &operator = (const hb_ot_shape_planner_t &);
};

View File

@ -647,14 +647,6 @@ static inline unsigned char TOLOWER (unsigned char c)
{ return (c >= 'A' && c <= 'Z') ? c - 'A' + 'a' : c; }
/* C++ helpers */
/* Makes class uncopyable. Use in private: section. */
#define NO_COPY(T) \
T (const T &o); \
T &operator = (const T &o)
/* Debug */