diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-01-14 18:03:38 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-01-16 08:49:52 +0100 |
commit | f44ee891beaad397481dd88da41cb80e6539774f (patch) | |
tree | 82ce10e73d3b1da6229618ce93222ee49e34841b /core/resource.cpp | |
parent | e2a3f06f3d0c49d87b86c12407d69174b58ae448 (diff) | |
download | redot-engine-f44ee891beaad397481dd88da41cb80e6539774f.tar.gz |
Style: Fix statements ending with ';;'
Diffstat (limited to 'core/resource.cpp')
-rw-r--r-- | core/resource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/resource.cpp b/core/resource.cpp index df18d9584e..4b09a506ff 100644 --- a/core/resource.cpp +++ b/core/resource.cpp @@ -200,7 +200,7 @@ void Resource::set_path(const String& p_path, bool p_take_over) { if (path_cache!="") { ResourceCache::lock->write_lock(); - ResourceCache::resources[path_cache]=this;; + ResourceCache::resources[path_cache]=this; ResourceCache::lock->write_unlock(); } @@ -534,9 +534,9 @@ void ResourceCache::reload_externals() { bool ResourceCache::has(const String& p_path) { - lock->read_lock();; + lock->read_lock(); bool b = resources.has(p_path); - lock->read_unlock();; + lock->read_unlock(); return b; |