Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
50310921
Commit
50310921
authored
Aug 16, 2012
by
Lynn Garren
Browse files
control unnecessary clang warnings
parent
c09f6919
Changes
2
Hide whitespace changes
Inline
Side-by-side
Utility/ChangeLog
View file @
50310921
2012-08-16 L. Garren <garren@fnal.gov>
* Utility/memory.h: use clang pragma
==============================
09.07.12 Release CLHEP-2.1.2.4
==============================
...
...
Utility/Utility/memory.h
View file @
50310921
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment