Skip to content

Commit

Permalink
use Copy() instead of directly '='
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesnowy committed Nov 22, 2017
1 parent 6610ba8 commit 41520a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1 Fundamental/1.3/1.3.49/StackQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public Item Dequeue()
else if (!this.isRecopying && Lendiff() == 0)
{
Item temp = this.H.Pop();
this.h = this.H;
this.h = this.H.Copy();
this.isRecopying = true;
OneStep(OneStep(this));
return temp;
Expand Down

0 comments on commit 41520a9

Please sign in to comment.