From bb605f416f9dd5e89150e8937d17c6647fcfe346 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 26 Nov 2015 09:09:43 +0100 Subject: api/shortcuts: remove pointless "friend" declarations --- opentrack/keybinding-worker.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'opentrack') diff --git a/opentrack/keybinding-worker.hpp b/opentrack/keybinding-worker.hpp index 054182e7..5b669331 100644 --- a/opentrack/keybinding-worker.hpp +++ b/opentrack/keybinding-worker.hpp @@ -63,7 +63,6 @@ private: public: class Token { - friend class KeybindingWorker; fun* pos; //Token(const Token&) = delete; Token& operator=(Token&) = delete; @@ -77,7 +76,6 @@ public: make().remove_receiver(pos); } }; - friend class Token; static Token add_receiver(fun receiver) { return Token(receiver); -- cgit v1.2.3