Fix deleting incomplete type and make Engine moveable only
This commit is contained in:
committed by
Patrick Niklaus
parent
23a5edb29b
commit
2d558a0b83
@@ -55,8 +55,8 @@ class Engine final
|
||||
|
||||
explicit Engine(EngineConfig &config);
|
||||
|
||||
Engine(const Engine &) = delete;
|
||||
Engine &operator=(const Engine &) = delete;
|
||||
Engine(Engine &&) noexcept;
|
||||
Engine &operator=(Engine &&) noexcept;
|
||||
|
||||
// Impl. in cpp since for unique_ptr of incomplete types
|
||||
~Engine();
|
||||
|
||||
Reference in New Issue
Block a user