Simplified module registration
This commit is contained in:
parent
456180325e
commit
a29671593e
5 changed files with 24 additions and 13 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue