refactor: Object construction
This commit is contained in:
parent
1a2a6e5fab
commit
4fca0c89b4
39 changed files with 85 additions and 84 deletions
src/components
|
@ -18,7 +18,7 @@ POLYBAR_NS
|
|||
/**
|
||||
* Create instance
|
||||
*/
|
||||
unique_ptr<renderer> renderer::make(const bar_settings& bar, vector<string>&& fonts) {
|
||||
renderer::make_type renderer::make(const bar_settings& bar, vector<string>&& fonts) {
|
||||
// clang-format off
|
||||
return factory_util::unique<renderer>(
|
||||
connection::make(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue