math/the-algorithms-c++: Add workaround for compilation failure on 15-CURRENT

Reported by:	fallout
main
Yuri Victorovich 2024-04-15 17:19:26 -07:00
parent c23152106f
commit 8386809c44
1 changed files with 13 additions and 0 deletions

View File

@ -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;