mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00: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
@ -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…
Reference in New Issue
Block a user