Remove some shared pointers on load monitors.

This commit is contained in:
JoelKatz
2012-11-28 15:53:07 -08:00
parent 8ba70c73f6
commit 72777b6b83
9 changed files with 15 additions and 11 deletions

View File

@@ -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);
};