diff options
| author | Brian Potchik <brian@vector35.com> | 2018-01-11 17:10:34 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2018-01-11 17:10:34 -0500 |
| commit | 1df49afa5522d73d509d20db9588294fe259085f (patch) | |
| tree | 089a2ff85c527c485a9d8bd7f3b9c6d234f2fa2f /plugin.cpp | |
| parent | bc779f1e0140a933d65926b9af840a80636a6dd4 (diff) | |
API Temporary Object Elimination.
Diffstat (limited to 'plugin.cpp')
| -rw-r--r-- | plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,7 @@ vector<PluginCommand> PluginCommand::GetList() size_t count; BNPluginCommand* commands = BNGetAllPluginCommands(&count); for (size_t i = 0; i < count; i++) - result.push_back(PluginCommand(commands[i])); + result.emplace_back(commands[i]); BNFreePluginCommandList(commands); return result; } |
