mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Just some minor code modernization
This commit is contained in:
1 parent
3e62157487
commit
18ccef1bd4
11 files changed
+31
-27
No files matched your search
@@ -89,8 +89,8 @@ protected:
|
||||
|
||||
DebuggerSubscriber *WebSocketGPUStatsInit(DebuggerEventHandlerMap &map) {
|
||||
auto p = new WebSocketGPUStatsState();
|
||||
map["gpu.stats.get"] = std::bind(&WebSocketGPUStatsState::Get, p, std::placeholders::_1);
|
||||
map["gpu.stats.feed"] = std::bind(&WebSocketGPUStatsState::Feed, p, std::placeholders::_1);
|
||||
map["gpu.stats.get"] = [p](DebuggerRequest &req) { p->Get(req); };
|
||||
map["gpu.stats.feed"] = [p](DebuggerRequest &req) { p->Feed(req); };
|
||||
|
||||
return p;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user