Make sure that handlers always return Json::objectValue.

This commit is contained in:
Tom Ritchford
2014-12-01 15:26:59 -05:00
parent b0d47ebcc6
commit 86df482842
22 changed files with 43 additions and 32 deletions

View File

@@ -239,6 +239,7 @@ public:
return getJson (warningThreshold);
}
/** Returns a Json::objectValue. */
Json::Value getJson (int threshold)
{
clock_type::time_point const now (m_clock.now());