Skip to content

Commit

Permalink
Merge pull request openPMD#618 from ax3l/fix-variantNVCChotfixConstexpr
Browse files Browse the repository at this point in the history
MPark.Variant: Hotfix NVCC C++14
  • Loading branch information
ax3l authored Nov 26, 2019
2 parents 4b5b505 + 33fe2c9 commit 9356dbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Bug Fixes
- nvcc:

- ignore export of ``enum class Operation`` #617
- fix C++14 build #618

Other
"""""
Expand Down
2 changes: 1 addition & 1 deletion share/openPMD/thirdParty/variant/include/mpark/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2655,7 +2655,7 @@ namespace mpark {
return false;
}

#ifdef MPARK_CPP14_CONSTEXPR
#if defined(MPARK_CPP14_CONSTEXPR) && !defined(__NVCC__)
namespace detail {

inline constexpr bool all(std::initializer_list<bool> bs) {
Expand Down

0 comments on commit 9356dbb

Please sign in to comment.