mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove some shared pointers on load monitors.
This commit is contained in:
@@ -104,6 +104,8 @@ public:
|
||||
|
||||
LoadEvent::pointer getLoadEvent(JobType t)
|
||||
{ return boost::make_shared<LoadEvent>(boost::ref(mJobLoads[t]), true, 1); }
|
||||
LoadEvent::autoptr getLoadEventAP(JobType t)
|
||||
{ return LoadEvent::autoptr(new LoadEvent(mJobLoads[t], true, 1)); }
|
||||
|
||||
Json::Value getJson(int c = 0);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user