mirror of https://github.com/mosra/magnum.git
Browse Source
Useful in this case:
std::optional<Platform::Context> context;
context = Platform::Context{};
This was currently possible only with calling context.emplace(), which
in my opinion is confusing and looks like a no-op. Move assignment is
still not allowed, because having two separate state trackers (and
deleting one of them) currently makes no sense.
pull/107/head
2 changed files with 19 additions and 5 deletions
Loading…
Reference in new issue