Skip to content
Snippets Groups Projects
Commit f5c7f8c2 authored by Scott Snyder's avatar Scott Snyder Committed by scott snyder
Browse files

AthExHive: Fix gcc9 warnings.

In C++11, implicit declarations of copy and assignment are deprecated if the
class has a user defined destructor or copy or assignment.  gcc9 now warns
about this by default.
Adjust to avoid the warning.
parent 6af7bfb3
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/
#ifndef ATHEXHIVE_HIVEDATAOBJ_H
......@@ -17,7 +17,7 @@ public:
HiveDataObj():m_val(0) {};
HiveDataObj(int i): m_val(i) {};
virtual ~HiveDataObj(){};
virtual ~HiveDataObj() = default;
void val(int i) { m_val = i; }
int val() const { return m_val; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment