Codechange: Make use of the improved C++17 emplace_back function.
This commit is contained in:
@@ -119,8 +119,7 @@ public:
|
||||
*/
|
||||
inline FiosItem *Append()
|
||||
{
|
||||
/*C++17: return &*/ this->files.emplace_back();
|
||||
return &this->files.back();
|
||||
return &this->files.emplace_back();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user