Skip to content

Commit

Permalink
[RF] Remove checks for unsupported compiler versions
Browse files Browse the repository at this point in the history
  • Loading branch information
guitargeek committed Aug 28, 2024
1 parent 6a7b35b commit 9efc2c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
13 changes: 0 additions & 13 deletions roofit/roofitZMQ/res/RooFit_ZMQ/Utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,13 @@
#ifndef SERIALIZE_UTILITY_H
#define SERIALIZE_UTILITY_H 1

#if defined(__clang__) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 10))
#define HAVE_TRIVIALLY_COPYABLE 1
#elif defined(__GNUC__) && __GNUC__ >= 5
#define HAVE_TRIVIALLY_COPYABLE 1
#else
#undef HAVE_TRIVIALLY_COPYABLE
#endif

#include <type_traits>

namespace ZMQ {
namespace Detail {

#if defined(HAVE_TRIVIALLY_COPYABLE)
template <class T>
using simple_object = std::is_trivially_copyable<T>;
#else
template <class T>
using simple_object = std::is_pod<T>;
#endif

// is trivial
template <class T>
Expand Down
4 changes: 0 additions & 4 deletions roofit/roofitcore/src/RooArgSet.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@

using std::istream, std::ostream, std::ifstream, std::ofstream, std::endl;

#if (__GNUC__==3&&__GNUC_MINOR__==2&&__GNUC_PATCHLEVEL__==3)
char* operator+( streampos&, char* );
#endif

ClassImp(RooArgSet);

void RooArgSet::cleanup() { }
Expand Down

0 comments on commit 9efc2c8

Please sign in to comment.