From fa2d97161f8b7de3d7a70e06d41b6f7e154012ad Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 7 May 2019 00:34:50 -0700 Subject: [PATCH] Remove use of deprecated implicit copy/move assignment operators By removing custom copy constructor. --- src/hb-meta.hh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hb-meta.hh b/src/hb-meta.hh index b65a09efe..e8002f253 100644 --- a/src/hb-meta.hh +++ b/src/hb-meta.hh @@ -142,7 +142,6 @@ template struct hb_reference_wrapper { hb_reference_wrapper (T v) : v (v) {} - hb_reference_wrapper (const hb_reference_wrapper& o) : v (o.v) {} bool operator == (const hb_reference_wrapper& o) const { return v == o.v; } bool operator != (const hb_reference_wrapper& o) const { return v != o.v; } operator T () const { return v; } @@ -153,7 +152,6 @@ template struct hb_reference_wrapper { hb_reference_wrapper (T& v) : v (hb_addressof (v)) {} - hb_reference_wrapper (const hb_reference_wrapper& o) : v (o.v) {} bool operator == (const hb_reference_wrapper& o) const { return v == o.v; } bool operator != (const hb_reference_wrapper& o) const { return v != o.v; } operator T& () const { return *v; }