# HG changeset patch # User Sebastien Jodogne # Date 1769530954 -3600 # Node ID 3f961faf25b174477905c7a516567ed6e9eaa21c # Parent fb88ccb7be58fe4a604134b00e7120e7dfd832e2 replaced boost::math::round() by Orthanc::Math::iround() diff -r fb88ccb7be58 -r 3f961faf25b1 Framework/TransferToolbox.cpp --- a/Framework/TransferToolbox.cpp Fri Jan 02 13:24:37 2026 +0100 +++ b/Framework/TransferToolbox.cpp Tue Jan 27 17:22:34 2026 +0100 @@ -23,10 +23,10 @@ #include "../Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h" +#include #include #include -#include #include @@ -35,14 +35,14 @@ unsigned int ConvertToMegabytes(uint64_t value) { return static_cast - (boost::math::round(static_cast(value) / static_cast(MB))); + (Orthanc::Math::iround(static_cast(value) / static_cast(MB))); } unsigned int ConvertToKilobytes(uint64_t value) { return static_cast - (boost::math::round(static_cast(value) / static_cast(KB))); + (Orthanc::Math::iround(static_cast(value) / static_cast(KB))); }