From 384862d7ee2e27e6678844feafab69f03f77ac9a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 3 Nov 2017 16:31:47 -0400 Subject: [PATCH] Remove NO_COPY() --- src/hb-ot-shape-private.hh | 4 +++- src/hb-private.hh | 8 -------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/hb-ot-shape-private.hh b/src/hb-ot-shape-private.hh index d0fe9e6a9..fe5d2b7f3 100644 --- a/src/hb-ot-shape-private.hh +++ b/src/hb-ot-shape-private.hh @@ -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 &); }; diff --git a/src/hb-private.hh b/src/hb-private.hh index 9acc0e79a..4bda9be72 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -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 */