Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make UAL and child Backends independent to ease new backends creation #61

Closed
franreal opened this issue Aug 9, 2019 · 1 comment
Closed
Assignees
Milestone

Comments

@franreal
Copy link
Member

franreal commented Aug 9, 2019

One simple solution would be to pass Backend pointer to UAL init function and remove init call in constructors. Remove also createBackend function from Backend, as this responsibility is now for programmers.

void UAL::init(Backend* _backend) {
    backend_ = _backend;
...
@arturotorresg
Copy link
Member

Ready since v3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants