Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Fix GCC 14 -Wtemplate-id-cdtor warnings #91823

Merged
merged 1 commit into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/ring_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ class RingBuffer {
size_mask = mask;
};

RingBuffer<T>(int p_power = 0) {
RingBuffer(int p_power = 0) {
read_pos = 0;
write_pos = 0;
resize(p_power);
};
~RingBuffer<T>(){};
~RingBuffer(){};
};

#endif // RING_BUFFER_H
4 changes: 2 additions & 2 deletions core/safe_refcount.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class SafeNumeric {
}
}

_ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
_ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast<T>(0)) {
set(p_value);
}
};
Expand Down Expand Up @@ -257,7 +257,7 @@ class SafeNumeric {
}
}

_ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) :
_ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast<T>(0)) :
value(p_value) {
}
};
Expand Down
Loading