Skip to content

Commit b0dc253

Browse files
committed
Day 13 - Queue implementation
1 parent 88f4ac8 commit b0dc253

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/queue.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ namespace algo {
6666

6767
bool push( const T & obj )
6868
{
69-
if ( _count == _capacity ) {
69+
if ( _count == _capacity )
70+
{
7071
return false;
7172
}
7273
else {

0 commit comments

Comments
 (0)