summaryrefslogtreecommitdiff
path: root/include/wabt/interp/interp-inl.h
diff options
context:
space:
mode:
authorShravan Narayan <shravanrn@gmail.com>2023-06-20 00:06:25 -0400
committerShravan Narayan <shravanrn@gmail.com>2023-07-02 07:33:45 -0400
commite37de9dedfc7037cea09ca3c75fd5a544d68cb2a (patch)
tree11892c752279c0cc869c2ba07436f777d904dc46 /include/wabt/interp/interp-inl.h
parent6f58973e2680b71e56a41f798d6072208c721a12 (diff)
downloadwabt-e37de9dedfc7037cea09ca3c75fd5a544d68cb2a.tar.gz
wabt-e37de9dedfc7037cea09ca3c75fd5a544d68cb2a.tar.bz2
wabt-e37de9dedfc7037cea09ca3c75fd5a544d68cb2a.zip
C++20 compatibility fixes
Diffstat (limited to 'include/wabt/interp/interp-inl.h')
-rw-r--r--include/wabt/interp/interp-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wabt/interp/interp-inl.h b/include/wabt/interp/interp-inl.h
index 23a70e98..1f3402c6 100644
--- a/include/wabt/interp/interp-inl.h
+++ b/include/wabt/interp/interp-inl.h
@@ -145,7 +145,7 @@ inline bool FreeList<Ref>::IsUsed(Index index) const {
}
template <>
-inline FreeList<Ref>::~FreeList<Ref>() {}
+inline FreeList<Ref>::~FreeList() {}
template <>
template <typename... Args>
@@ -181,7 +181,7 @@ bool FreeList<T>::IsUsed(Index index) const {
}
template <typename T>
-FreeList<T>::~FreeList<T>() {
+FreeList<T>::~FreeList() {
for (auto object : list_) {
if ((reinterpret_cast<uintptr_t>(object) & ptrFreeBit) == 0) {
delete object;