diff options
Diffstat (limited to 'src/engine/machina')
-rw-r--r-- | src/engine/machina/Controller.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/engine/machina/Controller.hpp b/src/engine/machina/Controller.hpp index c77ee16..67402f1 100644 --- a/src/engine/machina/Controller.hpp +++ b/src/engine/machina/Controller.hpp @@ -52,9 +52,7 @@ public: uint64_t create(const client::ClientObject& obj); uint64_t connect(uint64_t tail_id, uint64_t head_id); - void set_property(uint64_t object_id, - URIInt key, - const Raul::Atom& value); + void set_property(uint64_t object_id, URIInt key, const Raul::Atom& value); void learn(SPtr<Raul::Maid> maid, uint64_t node_id); void disconnect(uint64_t tail_id, uint64_t head_id); @@ -68,11 +66,9 @@ private: SPtr<Stateful> find(uint64_t id); struct StatefulComparator { - inline bool operator()(SPtr<Stateful> lhs, - SPtr<Stateful> rhs) const { - return lhs->id() < rhs->id(); + inline bool operator()(SPtr<Stateful> a, SPtr<Stateful> b) const { + return a->id() < b->id(); } - }; typedef std::set<SPtr<Stateful>, StatefulComparator> Objects; |