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

AthViews: 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.


Former-commit-id: f97e3c1a
parent b4df726f
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
*/ */
/** /**
...@@ -32,8 +32,15 @@ ...@@ -32,8 +32,15 @@
#include "AthenaKernel/ExtendedEventContext.h" #include "AthenaKernel/ExtendedEventContext.h"
// Google Test and Google Mock // Google Test and Google Mock
#if __GNUC__ >= 9
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
#endif
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "gmock/gmock.h" #include "gmock/gmock.h"
#if __GNUC__ >= 9
# pragma GCC diagnostic pop
#endif
// Names for storing collections // Names for storing collections
......
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