mirror of
https://github.com/polybar/polybar.git
synced 2026-02-22 18:25:57 +00:00
refactor: Cleanup
This commit is contained in:
@ -14,8 +14,8 @@ POLYBAR_NS
|
||||
* Create instance
|
||||
*/
|
||||
config::make_type config::make(string path, string bar) {
|
||||
return static_cast<const config&>(
|
||||
*factory_util::singleton<const config>(logger::make(), xresource_manager::make(), move(path), move(bar)));
|
||||
return static_cast<config::make_type>(*factory_util::singleton<std::remove_reference_t<config::make_type>>(
|
||||
*factory_util::singleton<const config>(logger::make(), xresource_manager::make(), move(path), move(bar))));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user