Skip to content
Snippets Groups Projects
Commit cfb0609c authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'GccClangPragmaWarningFix-23.0-20230710' into '23.0'

GCC Clang Pragma Warning Fix, 23.0 branch (2023.07.10.)

See merge request !64240
parents 550955cb e54f0b19
No related branches found
Tags v52r0
3 merge requests!64323Daily merge of 23.0 into main,!64286Daily merge of 23.0 into main,!64240GCC Clang Pragma Warning Fix, 23.0 branch (2023.07.10.)
...@@ -133,14 +133,14 @@ private: ...@@ -133,14 +133,14 @@ private:
// See ATLINFR-4996 for an explanation of this clunky // See ATLINFR-4996 for an explanation of this clunky
// warning suppression. // warning suppression.
#if __cplusplus > 201703L #if (__cplusplus > 201703L) && defined(__ROOTCLING__)
#pragma clang diagnostic push #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-volatile" #pragma clang diagnostic ignored "-Wdeprecated-volatile"
#endif // >C++17 #endif // >C++17 with ROOT
#include "tbb/concurrent_vector.h" #include "tbb/concurrent_vector.h"
#if __cplusplus > 201703L #if (__cplusplus > 201703L) && defined(__ROOTCLING__)
#pragma clang diagnostic pop #pragma clang diagnostic pop
#endif // >C++17 #endif // >C++17 with ROOT
#include <atomic> #include <atomic>
#include <mutex> #include <mutex>
...@@ -191,7 +191,7 @@ namespace AthContainers_detail { ...@@ -191,7 +191,7 @@ namespace AthContainers_detail {
* lock on the underlying object rather than an exclusive one. * lock on the underlying object rather than an exclusive one.
*/ */
template <typename LOCKABLE> template <typename LOCKABLE>
class strict_shared_lock class strict_shared_lock
{ {
public: public:
/// The underlying object type. /// The underlying object type.
...@@ -210,7 +210,7 @@ public: ...@@ -210,7 +210,7 @@ public:
* @param obj The lockable object. * @param obj The lockable object.
*/ */
explicit strict_shared_lock(const lockable_type& obj); explicit strict_shared_lock(const lockable_type& obj);
/** /**
* @brief Release the held lock. * @brief Release the held lock.
......
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