mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
math/the-algorithms-c++: Add workaround for compilation failure on 15-CURRENT
Reported by: fallout
This commit is contained in:
parent
c23152106f
commit
8386809c44
1 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
- workaround for https://github.com/TheAlgorithms/C-Plus-Plus/issues/2690
|
||||
|
||||
--- data_structures/queue_using_array2.cpp.orig 2024-04-15 23:52:35 UTC
|
||||
+++ data_structures/queue_using_array2.cpp
|
||||
@@ -1,6 +1,8 @@ using namespace std;
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
+#define queue queue_
|
||||
+
|
||||
int queue[10];
|
||||
int front = 0;
|
||||
int rear = 0;
|
Loading…
Add table
Reference in a new issue