]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/root.h
Allow null handles to be created from nullptr
[libs/game.git] / source / game / root.h
index f4ed18edc1b509510441e36c4306de8de2d3ce0f..4f7ea76101c4b831d2be304b922a047e508b4f19 100644 (file)
@@ -13,7 +13,7 @@ private:
        Stage &stage;
 
 public:
-       Root(Stage &s): Entity(Handle<Entity>()), stage(s) { }
+       Root(Stage &s): Entity(nullptr), stage(s) { }
 
        Stage &get_stage() const { return stage; }
 };