mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
clang-format src
This commit is contained in:
@@ -50,7 +50,7 @@ namespace BlackCore
|
||||
//! Register a new hotkey function
|
||||
//! \remark RecvObj has to be a QObject
|
||||
template <typename RecvObj>
|
||||
int bind(const QString &action, RecvObj *receiver, void (RecvObj:: *slotPointer)(bool))
|
||||
int bind(const QString &action, RecvObj *receiver, void (RecvObj::*slotPointer)(bool))
|
||||
{
|
||||
using namespace std::placeholders;
|
||||
auto function = std::bind(slotPointer, receiver, _1);
|
||||
@@ -153,4 +153,4 @@ namespace BlackCore
|
||||
};
|
||||
} // ns
|
||||
|
||||
#endif //guard
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user