# HG changeset patch # User Alain Mazy # Date 1651494701 -7200 # Node ID 8feb00fea93d25fe55beefbb31d9bfcb7f9ef12b # Parent d05626038846173eebbd300f22e258b6d1bedf7f fix build diff -r d05626038846 -r 8feb00fea93d OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp --- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Sun May 01 12:45:27 2022 +0200 +++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Mon May 02 14:31:41 2022 +0200 @@ -246,7 +246,7 @@ : statusVersion(1), lastProcessedChange(-1), lastChangeToProcess(-1), - lastTimeStarted(boost::date_time::special_values::not_a_date_time) + lastTimeStarted(boost::date_time::not_a_date_time) { } @@ -258,7 +258,7 @@ target["LastProcessedChange"] = Json::Value::Int64(lastProcessedChange); target["LastChangeToProcess"] = Json::Value::Int64(lastChangeToProcess); - if (lastTimeStarted == boost::date_time::special_values::not_a_date_time) + if (lastTimeStarted == boost::date_time::not_a_date_time) { target["LastTimeStarted"] = Json::Value::null; } @@ -278,7 +278,7 @@ lastChangeToProcess = source["LastChangeToProcess"].asInt64(); if (source["LastTimeStarted"].isNull()) { - lastTimeStarted = boost::date_time::special_values::not_a_date_time; + lastTimeStarted = boost::date_time::not_a_date_time; } else { @@ -318,7 +318,7 @@ pluginStatus_.statusVersion = 1; pluginStatus_.lastProcessedChange = -1; pluginStatus_.lastChangeToProcess = -1; - pluginStatus_.lastTimeStarted = boost::date_time::special_values::not_a_date_time; + pluginStatus_.lastTimeStarted = boost::date_time::not_a_date_time; pluginStatus_.lastProcessedConfiguration.orthancVersion = "1.9.0"; // when we don't know, we assume some files were stored with Orthanc 1.9.0 (last version saving the dicom-as-json files)