summaryrefslogtreecommitdiff
path: root/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.cpp')
-rw-r--r--plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.cpp b/plugin.cpp
index e8dd881d..2378fdab 100644
--- a/plugin.cpp
+++ b/plugin.cpp
@@ -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;
}