From 47cd41b32d454492deef41d25ba929e05b05e8ca Mon Sep 17 00:00:00 2001
From: Sergey Linev <S.Linev@gsi.de>
Date: Fri, 24 May 2019 09:10:05 +0200
Subject: [PATCH] gcc9: remove copy constructor and assign oper for TGLVector3

---
 graf3d/gl/inc/TGLUtil.h   | 6 ------
 graf3d/gl/src/TGLUtil.cxx | 8 --------
 2 files changed, 14 deletions(-)

diff --git a/graf3d/gl/inc/TGLUtil.h b/graf3d/gl/inc/TGLUtil.h
index e56ddc1427a..be0853f76f0 100644
--- a/graf3d/gl/inc/TGLUtil.h
+++ b/graf3d/gl/inc/TGLUtil.h
@@ -249,11 +249,6 @@ public:
    TGLVector3() = default;
    TGLVector3(Double_t x, Double_t y, Double_t z);
    TGLVector3(const Double_t *src);
-   TGLVector3(const TGLVector3 &other);
-   ~TGLVector3() = default;
-
-   TGLVector3& operator = (const TGLVector3& v)
-   { fVals[0] = v[0]; fVals[1] = v[1]; fVals[2] = v[2]; return *this; }
 
    TGLVector3& operator = (const TGLVertex3& v)
    { fVals[0] = v[0]; fVals[1] = v[1]; fVals[2] = v[2]; return *this; }
@@ -795,7 +790,6 @@ public:
    TGLColor(Float_t r, Float_t g, Float_t b, Float_t a=1);
    TGLColor(Color_t color_index, Char_t transparency=0);
    TGLColor(const TGLColor& c);
-   virtual ~TGLColor() = default;
 
    TGLColor& operator=(const TGLColor& c);
 
diff --git a/graf3d/gl/src/TGLUtil.cxx b/graf3d/gl/src/TGLUtil.cxx
index f5b4c8d4cc5..15e6f887f0b 100644
--- a/graf3d/gl/src/TGLUtil.cxx
+++ b/graf3d/gl/src/TGLUtil.cxx
@@ -154,14 +154,6 @@ TGLVector3::TGLVector3(Double_t x, Double_t y, Double_t z) :
 {
 }
 
-////////////////////////////////////////////////////////////////////////////////
-/// Construct a vector from components of 'other'
-
-TGLVector3::TGLVector3(const TGLVector3 & other) :
-   TGLVertex3(other.fVals[0], other.fVals[1], other.fVals[2])
-{
-}
-
 ////////////////////////////////////////////////////////////////////////////////
 /// Construct a vector with components (src[0], src[1], src[2])
 
-- 
GitLab