From 07de2f5bc3a42b00812b1e5677548cbd45f6f203 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Thu, 30 Oct 2008 13:58:03 -0230 Subject: Bug 3519 - fix isalpha, isprint, ... usage --- cpp/src/FreezeScript/Functions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/FreezeScript/Functions.cpp') diff --git a/cpp/src/FreezeScript/Functions.cpp b/cpp/src/FreezeScript/Functions.cpp index fe5a3192d77..69a7ab8ae46 100644 --- a/cpp/src/FreezeScript/Functions.cpp +++ b/cpp/src/FreezeScript/Functions.cpp @@ -10,6 +10,7 @@ #include #include #include +#include using namespace std; @@ -177,8 +178,7 @@ FreezeScript::invokeGlobalFunction(const Ice::CommunicatorPtr& communicator, con { errorReporter->error("lowercase() requires a string argument"); } - string val = str->stringValue(); - transform(val.begin(), val.end(), val.begin(), ::tolower); + string val = IceUtilInternal::toLower(str->stringValue()); result = factory->createString(val, false); return true; } -- cgit v1.2.3