Skip to content

Commit dbb7582

Browse files
committed
Fix compilation errors
1 parent c31bda1 commit dbb7582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/kiwi/Joiner.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ namespace kiwi
8282
static void destructImpl(ErasedVector* self)
8383
{
8484
auto* target = reinterpret_cast<Vector<T>*>(&self->vec);
85-
target->~Vector<T>();
85+
std::destroy_at(target);
8686
}
8787

8888
template<class T>

0 commit comments

Comments
 (0)