Mercurial > hg > orthanc
changeset 4993:8feb00fea93d
fix build
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 02 May 2022 14:31:41 +0200 |
parents | d05626038846 |
children | 2f30aa99c2db |
files | OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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)