Skip to content

Commit 978d03f

Browse files
committed
Fix compilation for GCC-14
1 parent f6e3b49 commit 978d03f

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

include/srsran/support/async/coroutine.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ struct base_coro_frame;
5252
/// Contains a small memory buffer to store awaiters and the current coroutine state
5353
template <>
5454
struct base_coro_frame<void> {
55-
base_coro_frame<void>() = default;
56-
base_coro_frame<void>(const base_coro_frame<void>&) = delete;
57-
base_coro_frame<void>(base_coro_frame<void>&&) = delete;
55+
base_coro_frame() = default;
56+
base_coro_frame(const base_coro_frame<void>&) = delete;
57+
base_coro_frame(base_coro_frame<void>&&) = delete;
5858
base_coro_frame<void>& operator=(const base_coro_frame<void>&) = delete;
5959
base_coro_frame<void>& operator=(base_coro_frame<void>&&) = delete;
6060
virtual ~base_coro_frame() = default;

lib/srsvec/simd.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
// Enables intel intrinsics, it includes AVX, AVX2, FMA, AVX512.
1616
#ifdef HAVE_SSE
1717

18-
// Enables optimizations in this file.
19-
#ifndef __OPTIMIZE__
20-
#define __OPTIMIZE__
21-
#endif // __OPTIMIZE__
22-
2318
// gcc-12 gives a likely false alarm when including AVX512 intrinsics. Disable maybe-uninitialized diagnostics.
2419
#ifndef __clang__
2520
#pragma GCC diagnostic push

0 commit comments

Comments
 (0)