Commit e3e2cb16 authored by Will Schroeder's avatar Will Schroeder
Browse files

*** empty log message ***

parent 8b081c7e
......@@ -42,7 +42,7 @@ public:
int InsertNextValue(const int i)
{this->InsertValue (++this->MaxId,i); return this->MaxId;};
vlCharArray &operator=(vlCharArray& ia);
void operator+=(vlCharArray& ia);
vlCharArray &operator+=(vlCharArray& ia);
void operator+=(const char i) {this->InsertNextValue(i);};
// operator[] can be used on both left and right side of expression;
// Note: if used on lh side, user's responsibility to do range checking
......
......@@ -42,7 +42,7 @@ public:
int InsertNextValue(const short i)
{this->InsertValue (++this->MaxId,i); return this->MaxId;};
vlShortArray &operator=(vlShortArray& sa);
vlShortArray operator+=(vlShortArray& sa);
vlShortArray &operator+=(vlShortArray& sa);
void operator+=(const short i) {this->InsertNextValue(i);};
// operator[] can be used on both left and right side of expression;
// Note: if used on lh side, user's responsibility to do range checking
......
......@@ -82,7 +82,7 @@ vlCharArray& vlCharArray::operator=(vlCharArray& ia)
//
// Copy on write if used by more than one object
//
void vlCharArray::operator+=(vlCharArray& ia)
vlCharArray& vlCharArray::operator+=(vlCharArray& ia)
{
int i, sz;
......
......@@ -82,7 +82,7 @@ vlShortArray& vlShortArray::operator=(vlShortArray& sa)
//
// Copy on write if used by more than one object
//
void vlShortArray::operator+=(vlShortArray& sa)
vlShortArray& vlShortArray::operator+=(vlShortArray& sa)
{
int i, sz;
......
Supports Markdown
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