Simplified module registration

This commit is contained in:
eelke 2019-01-01 08:26:20 +01:00
parent 456180325e
commit a29671593e
5 changed files with 24 additions and 13 deletions

View file

@ -684,10 +684,4 @@ void QueryToolModule::new_triggered()
{
}
namespace {
std::weak_ptr<PluginModule> register_variable = createPluginModule<QueryToolModule>
("Query tool", "pglab.querytool");
}
REGISTER_PLUGIN_MODULE(QueryToolModule, "Query tool", "pglab.querytool")