Skip to content

Commit

Permalink
fix: avoid template-id-cdtor warning with GCC 14 (#109)
Browse files Browse the repository at this point in the history
C++20's DR 2237 forbids using template-ids in constructors and
destructors, and GCC 14 started warning about this.
  • Loading branch information
Tachi107 authored Aug 14, 2024
1 parent b7ab6ec commit f4e6805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pool-manager-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ void PoolManager<T>::Release(T pc) {
}

template <typename T>
PoolManager<T>::~PoolManager<T>() VIXL_NEGATIVE_TESTING_ALLOW_EXCEPTION {
PoolManager<T>::~PoolManager() VIXL_NEGATIVE_TESTING_ALLOW_EXCEPTION {
#ifdef VIXL_DEBUG
// Check for unbound objects.
for (objects_iter iter = objects_.begin(); iter != objects_.end(); ++iter) {
Expand Down

0 comments on commit f4e6805

Please sign in to comment.