diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-19 17:27:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 17:27:55 +0200 |
commit | c2151e18135817c9f926a5a00341016ac77301d4 (patch) | |
tree | ef0c0fe7f7be76cab6234418ba77f8e18ca6d523 /core/engine.cpp | |
parent | 004ca80f0170b02899482bb36e77eef9de9b9ee8 (diff) | |
parent | 85220fec010a4946cb364974eac69418b4e06411 (diff) |
Merge pull request #38857 from akien-mga/style-clang-format-unnecessary-semicolons
Style: Remove unnecessary semicolons from `core`
Diffstat (limited to 'core/engine.cpp')
-rw-r--r-- | core/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/engine.cpp b/core/engine.cpp index 43c5766431..c8bfffd020 100644 --- a/core/engine.cpp +++ b/core/engine.cpp @@ -188,11 +188,11 @@ Object *Engine::get_singleton_object(const String &p_name) const { const Map<StringName, Object *>::Element *E = singleton_ptrs.find(p_name); ERR_FAIL_COND_V_MSG(!E, nullptr, "Failed to retrieve non-existent singleton '" + p_name + "'."); return E->get(); -}; +} bool Engine::has_singleton(const String &p_name) const { return singleton_ptrs.has(p_name); -}; +} void Engine::get_singletons(List<Singleton> *p_singletons) { for (List<Singleton>::Element *E = singletons.front(); E; E = E->next()) { |