Commit 50310921 authored by Lynn Garren's avatar Lynn Garren
Browse files

control unnecessary clang warnings

parent c09f6919
2012-08-16 L. Garren <garren@fnal.gov>
* Utility/memory.h: use clang pragma
==============================
09.07.12 Release CLHEP-2.1.2.4
==============================
......
......@@ -30,6 +30,10 @@
//
// ======================================================================
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdelete-non-virtual-dtor"
#endif
#include "CLHEP/Utility/defs.h"
#include "CLHEP/Utility/noncopyable.h"
......@@ -1651,4 +1655,8 @@ public: // actually private, but avoids compiler template friendship issues
}
}; // enable_shared_from_this2<>
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment