File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class ESE_DynamicQueue<Class T>
5757 return value ;
5858 }
5959 // ----------------------------------------------------------------------------------------------------------- //
60- bool TryDequeue (T output )
60+ bool TryDequeue (out T output )
6161 {
6262 int lastIndex = Raw .Count () - 1 ;
6363 if (lastIndex < 0 )
@@ -73,7 +73,7 @@ class ESE_DynamicQueue<Class T>
7373 return true;
7474 }
7575 // ----------------------------------------------------------------------------------------------------------- //
76- bool TryPeek (T output )
76+ bool TryPeek (out T output )
7777 {
7878 int lastIndex = Raw .Count () - 1 ;
7979 if (lastIndex < 0 )
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class ESE_Queue<Class T>
7575 return value ;
7676 }
7777 // ----------------------------------------------------------------------------------------------------------- //
78- bool TryDequeue (T output )
78+ bool TryDequeue (out T output )
7979 {
8080 int lastIndex = Raw .Count () - 1 ;
8181 if (lastIndex < 0 )
@@ -91,7 +91,7 @@ class ESE_Queue<Class T>
9191 return true;
9292 }
9393 // ----------------------------------------------------------------------------------------------------------- //
94- bool TryPeek (T output )
94+ bool TryPeek (out T output )
9595 {
9696 int lastIndex = Raw .Count () - 1 ;
9797 if (lastIndex < 0 )
You can’t perform that action at this time.
0 commit comments