Fix deleting incomplete type and make Engine moveable only

This commit is contained in:
Daniel J. Hofmann
2016-02-17 13:03:16 -08:00
committed by Patrick Niklaus
parent a4074332cc
commit d572d77b48
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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();