Remove useless lambda

This commit is contained in:
monarchdodra 2014-02-18 22:58:28 +01:00
parent 861d6cde49
commit c7d98fd96d

View file

@ -2325,7 +2325,7 @@ struct Appender(A : T[], T)
immutable len = _data.arr.length;
immutable reqlen = len + nelems;
if (()@trusted{ return _data.capacity; }() >= reqlen)
if (_data.capacity >= reqlen)
return;
// need to increase capacity