Fix broken creation of ExpString.

This commit is contained in:
Stephen Williams 2011-08-17 20:53:49 -07:00
parent f5220c54f1
commit 13c17a2485
1 changed files with 2 additions and 2 deletions

View File

@ -294,8 +294,8 @@ ExpRelation::~ExpRelation()
ExpString::ExpString(const char* value)
: value_(strlen(value))
{
for(unsigned i=0; i<strlen(value); ++i)
value_.push_back(value[i]);
for(size_t idx = 0; idx < value_.size(); idx += 1)
value_[idx] = value[idx];
}
ExpString::~ExpString()