< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-private.hh

Print this page

        

@@ -71,11 +71,11 @@
   hb_ot_map_builder_t map;
 
   hb_ot_shape_planner_t (const hb_shape_plan_t *master_plan) :
                          face (master_plan->face_unsafe),
                          props (master_plan->props),
-                         shaper (NULL),
+                         shaper (nullptr),
                          map (face, &props) {}
   ~hb_ot_shape_planner_t (void) { map.finish (); }
 
   inline void compile (hb_ot_shape_plan_t &plan,
                        const int          *coords,

@@ -97,10 +97,12 @@
     plan.has_kern = !!plan.kern_mask;
     plan.has_mark = !!plan.map.get_1_mask (HB_TAG ('m','a','r','k'));
   }
 
   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 &);
 };
 
 
 #endif /* HB_OT_SHAPE_PRIVATE_HH */
< prev index next >