Skip to content

Commit

Permalink
MPark.Variant: Hotfix NVCC C++14
Browse files Browse the repository at this point in the history
Apply a hotfix for C++14 builds with NVCC in downstream
projects.
  • Loading branch information
ax3l committed Nov 26, 2019
1 parent 4b5b505 commit 33fe2c9
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 33fe2c9

Please sign in to comment.