minor performance improvement, better workaround for clang issue with handle property

This commit is contained in:
Guenter Obiltschnig
2014-04-18 21:27:46 +02:00
parent 8d14b92b65
commit 835845422c
3 changed files with 3 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ bool Extractor::extract(std::size_t pos, std::string& val)
if (!pBuf)
val.clear();
else
val = std::string(pBuf);
val.assign(pBuf);
return true;
}