Skip to content

Commit

Permalink
Fixed small vector
Browse files Browse the repository at this point in the history
As suggested by the author:
gharveymn/small_vector#5 (comment)
  • Loading branch information
GiovanniBussi committed Feb 4, 2024
1 parent 88e5e4a commit e2ed95b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/small_vector/small_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ class PLUMED_GCH_EMPTY_BASE allocator_inliner<Allocator, true>
PLUMED_GCH_CPP20_CONSTEXPR
void
maybe_assign (const allocator_inliner& other)
noexcept (noexcept (Allocator::operator= (other)))
noexcept (noexcept (std::declval<Allocator&> ().operator= (other)))
{
Allocator::operator= (other);
}
Expand All @@ -1415,9 +1415,7 @@ class PLUMED_GCH_EMPTY_BASE allocator_inliner<Allocator, true>
PLUMED_GCH_CPP20_CONSTEXPR
void
maybe_assign (allocator_inliner&& other)
#if defined(__clang__) || ! defined(__GNUC__) || __GNUC__>=9
noexcept (noexcept (Allocator::operator= (std::move (other))))
#endif
noexcept (noexcept (std::declval<Allocator&> ().operator= (std::move (other))))
{
Allocator::operator= (std::move (other));
}
Expand Down

1 comment on commit e2ed95b

@PlumedBot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found broken examples in automatic/ANN.tmp
Found broken examples in automatic/EDS.tmp
Found broken examples in automatic/EMMI.tmp
Found broken examples in automatic/ENVIRONMENTSIMILARITY.tmp
Found broken examples in automatic/FOURIER_TRANSFORM.tmp
Found broken examples in automatic/FUNCPATHGENERAL.tmp
Found broken examples in automatic/FUNCPATHMSD.tmp
Found broken examples in automatic/FUNNEL.tmp
Found broken examples in automatic/FUNNEL_PS.tmp
Found broken examples in automatic/GHBFIX.tmp
Found broken examples in automatic/INCLUDE.tmp
Found broken examples in automatic/MAZE_MEMETIC_SAMPLING.tmp
Found broken examples in automatic/MAZE_OPTIMIZER_BIAS.tmp
Found broken examples in automatic/MAZE_RANDOM_ACCELERATION_MD.tmp
Found broken examples in automatic/MAZE_RANDOM_WALK.tmp
Found broken examples in automatic/MAZE_SIMULATED_ANNEALING.tmp
Found broken examples in automatic/MAZE_STEERED_MD.tmp
Found broken examples in automatic/PIV.tmp
Found broken examples in automatic/PLUMED.tmp
Found broken examples in MiscelaneousPP.md

Please sign in to comment.