diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-23 17:02:24 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-23 17:02:24 +0100 |
commit | d48d9f51970bd90ef9f1a8cbcf6207041e79a104 (patch) | |
tree | 0fcfa52b6f84722dc6119378106269cec025ed3b /engine/include/core/priority.hpp | |
parent | Update .gitignore, delete makefile add -g flag to build (diff) | |
download | flatland-d48d9f51970bd90ef9f1a8cbcf6207041e79a104.tar.gz flatland-d48d9f51970bd90ef9f1a8cbcf6207041e79a104.zip |
Fix bug in RAII jobs, debug session on ts3
Diffstat (limited to '')
-rw-r--r-- | engine/include/core/priority.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/include/core/priority.hpp b/engine/include/core/priority.hpp index 1219d26..d6c9b35 100644 --- a/engine/include/core/priority.hpp +++ b/engine/include/core/priority.hpp @@ -33,7 +33,7 @@ namespace flat { return lhs.priority() < rhs.priority(); } - bool operator()(const std::weak_ptr<prioritized> lhs, const std::weak_ptr<prioritized>& rhs) { + bool operator()(const std::weak_ptr<prioritized> lhs, const std::weak_ptr<prioritized> rhs) { if (auto l = lhs.lock()) { if (auto r = rhs.lock()) { // if both valid, check their priority |