From: Dirk Lemstra Date: Sun, 14 Jan 2018 21:37:43 +0000 (+0100) Subject: Try to see if the build is fixed when the `std::` namespace is added. X-Git-Tag: 7.0.7-22~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a45e1b1a1a71a2ccb519df0c9c8395bc44d04c8;p=imagemagick Try to see if the build is fixed when the `std::` namespace is added. --- diff --git a/Magick++/lib/SecurityPolicy.cpp b/Magick++/lib/SecurityPolicy.cpp index c9cfec277..25856d94a 100644 --- a/Magick++/lib/SecurityPolicy.cpp +++ b/Magick++/lib/SecurityPolicy.cpp @@ -29,7 +29,7 @@ bool Magick::SecurityPolicy::precision(const int precision_) string value; - value=to_string(precision_); + value=std::to_string(precision_); return(setValue(SystemPolicyDomain,"precision",value)); } @@ -38,7 +38,7 @@ bool Magick::SecurityPolicy::maxMemoryRequest(const MagickSizeType limit_) string value; - value=to_string(limit_); + value=std::to_string(limit_); return(setValue(SystemPolicyDomain,"max-memory-request",value)); } @@ -47,7 +47,7 @@ bool Magick::SecurityPolicy::shred(const int passes_) string value; - value=to_string(passes_); + value=std::to_string(passes_); return(setValue(SystemPolicyDomain,"shred",value)); }