Commit 61df7337 authored by Andrew J. Burns (Cont's avatar Andrew J. Burns (Cont

Fixed typo in PushBack change

parent 92313779
......@@ -1161,7 +1161,7 @@ public:
void
operator()(std::string * array) const
{
mArray->insert(mArray->getSize(), array, 1);
mArray->insert(mArray->getSize(), mVal);
/*
//resize if outside capacity
std::stringstream value;
......@@ -1179,7 +1179,8 @@ public:
void
operator()(U * array) const
{
mArray->insert(mArray->getSize(), array, 1);
printf("pushback to index %d\n", mArray->getSize());
mArray->insert(mArray->getSize(), mVal);
/*
unsigned int endpoint = mArray->getSize();// TODO
mArray->resize<T>(endpoint + 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment