Skip to content

Commit

Permalink
Fix GCC 14 -Wtemplate-id-cdtor warnings
Browse files Browse the repository at this point in the history
Fixes godotengine#91206.

(cherry picked from commit a8ff47b)
  • Loading branch information
akien-mga committed Nov 6, 2024
1 parent 7791177 commit a182b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/ring_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,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

0 comments on commit a182b57

Please sign in to comment.