diff options
Diffstat (limited to 'math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp')
-rw-r--r-- | math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp b/math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp new file mode 100644 index 000000000000..348109bea1af --- /dev/null +++ b/math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp @@ -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; |