diff options
Diffstat (limited to 'include/mbgl/actor/mailbox.hpp')
-rw-r--r-- | include/mbgl/actor/mailbox.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/actor/mailbox.hpp b/include/mbgl/actor/mailbox.hpp index 1e18d593d3..86ea0100fc 100644 --- a/include/mbgl/actor/mailbox.hpp +++ b/include/mbgl/actor/mailbox.hpp @@ -36,7 +36,7 @@ public: void push(std::unique_ptr<Message>); void receive(); - static void maybeReceive(std::weak_ptr<Mailbox>); + static void maybeReceive(const std::weak_ptr<Mailbox>&); static std::function<void()> makeClosure(std::weak_ptr<Mailbox>); private: |