Skip to content

Commit

Permalink
Fix one last __cplusplus which should have been nc_cplusplus
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Aug 14, 2024
1 parent a26afa6 commit 8d05d93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ncrystal_core/include/NCrystal/NCAtomData.hh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace NCRYSTAL_NAMESPACE {
AtomData() = delete;
~AtomData();
bool operator <(const AtomData&) const;//Sorts roughly by (Z,A,description,uniqueid)
bool operator ==(const AtomData& o) const
bool operator ==(const AtomData& o) const
{
return !( *this < o ) && !( o < *this );
}
Expand Down
2 changes: 1 addition & 1 deletion ncrystal_core/include/NCrystal/NCMem.hh
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ namespace NCRYSTAL_NAMESPACE {
}
}

#if __cplusplus < 201402L
#if nc_cplusplus < 201402L
//Make sure we can use std::make_unique from C++14 even in C++11 code
namespace std {
template<typename T, typename ...Args>
Expand Down

0 comments on commit 8d05d93

Please sign in to comment.