diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-22 00:05:02 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-22 00:05:02 +0100 |
commit | 317daaad468bfcaf0eedcef246a62c6c3f300989 (patch) | |
tree | 0059d90524a26a04a0ce976166d424aec4354ccb | |
parent | Merge remote-tracking branch 'nao/master' (diff) | |
download | flatland-317daaad468bfcaf0eedcef246a62c6c3f300989.tar.gz flatland-317daaad468bfcaf0eedcef246a62c6c3f300989.zip |
Fix typo to compile
-rw-r--r-- | engine/flatcomponent.cpp | 4 | ||||
-rw-r--r-- | engine/flatland.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/flatcomponent.cpp b/engine/flatcomponent.cpp index 16969ff..33cfbbc 100644 --- a/engine/flatcomponent.cpp +++ b/engine/flatcomponent.cpp @@ -15,7 +15,7 @@ Component::Component(Component *parent, const std::string& id) } } -Component~Component() +Component::~Component() { } @@ -29,7 +29,7 @@ void Component::setParent(Component *parent) this->parent = parent; } -Component * getParent() +Component * Component::getParent() { return parent; } diff --git a/engine/flatland.cpp b/engine/flatland.cpp index 489fd82..2f1c920 100644 --- a/engine/flatland.cpp +++ b/engine/flatland.cpp @@ -71,7 +71,7 @@ public: QuitListener() { addFilter("quit"); - core.connect(this); + core->connect(this); } }; |