Skip to content
Permalink
Browse files

Silence omptl warnings

  • Loading branch information...
milot-mirdita committed Oct 30, 2019
1 parent c94d00e commit 34eefdec0b23d38895b6c54b2ce1278b375f6fa6
Showing with 7 additions and 1 deletion.
  1. +7 −1 lib/omptl/omptl_algorithm
@@ -552,10 +552,16 @@ ForwardIterator upper_bound(ForwardIterator first, ForwardIterator last,

} // namespace omptl

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-parameter"
#endif
#ifdef _OPENMP
#include <omptl/omptl_algorithm_par.h>
#else
#include <omptl/omptl_algorithm_ser.h>
#endif

#if defined(__clang__)
#pragma clang diagnostic pop
#endif
#endif /* OMPTL_ALGORITHM */

0 comments on commit 34eefde

Please sign in to comment.
You can’t perform that action at this time.