Remove factory_util unique and shared
Equivalent to std::make_unique and std::make_shared
This commit is contained in:
parent
560065540b
commit
0d1db206c6
31 changed files with 83 additions and 99 deletions
src/components
|
@ -32,7 +32,7 @@ POLYBAR_NS
|
|||
* Build controller instance
|
||||
*/
|
||||
controller::make_type controller::make(unique_ptr<ipc>&& ipc) {
|
||||
return factory_util::unique<controller>(connection::make(), signal_emitter::make(), logger::make(), config::make(),
|
||||
return std::make_unique<controller>(connection::make(), signal_emitter::make(), logger::make(), config::make(),
|
||||
bar::make(), forward<decltype(ipc)>(ipc));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue